-
Notifications
You must be signed in to change notification settings - Fork 24
Improve feature list + release Beta 2 #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
30000c8
improve feature list
ildyria 21b321e
more things
ildyria f542dbc
fix styling
ildyria 9ffeb6b
improve list
ildyria 6d1315a
more details
ildyria e48c6f6
more data
ildyria 2252bb9
add link to release
ildyria ae705a7
Apply suggestions from code review
ildyria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,4 +144,8 @@ | |
|
||
.bg-mix { | ||
background-color: #d7f0fe; | ||
} | ||
|
||
.dark\:bg-dark-mix:is(.dark *) { | ||
background-color: #0b7ab0; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
import { twMerge } from 'tailwind-merge'; | ||
|
||
const { tag = 'v6', classes = {} } = Astro.props; | ||
--- | ||
|
||
<span class={twMerge("rounded-full text-xs text-white bg-sky-300 dark:text-neutral-300 dark:bg-sky-600 px-2 shadow-sm shadow-black/20 ml-2", classes)}>{ tag }</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
import Headline from '~/components/ui/Headline.astro'; | ||
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; | ||
import type { FeaturesList as Props } from '~/types'; | ||
import Tick from '../ui/Tick.astro'; | ||
import Tag from '../ui/Tag.astro'; | ||
|
||
const { | ||
title = await Astro.slots.render('title'), | ||
subtitle = await Astro.slots.render('subtitle'), | ||
tagline = await Astro.slots.render('tagline'), | ||
products = [], | ||
specs = [], | ||
|
||
id, | ||
isDark = false, | ||
classes = {}, | ||
bg = await Astro.slots.render('bg'), | ||
} = Astro.props; | ||
--- | ||
|
||
<WidgetWrapper id={id} isDark={isDark} containerClass={`max-w-3xl mx-auto ${classes?.container ?? ''}`} bg={bg}> | ||
<Headline title={title} subtitle={subtitle} tagline={tagline} classes={classes?.headline as Record<string, string>} /> | ||
<div> | ||
<table class="w-full border-collapse border border-neutral-200 dark:border-neutral-800"> | ||
<thead> | ||
<tr class="bg-neutral-100 dark:bg-neutral-700"> | ||
<th class="p-2 text-xl font-bold text-left">Features</th> | ||
{ | ||
products.map((name) => ( | ||
<th class="p-2 text-xl font-bold"> | ||
<Fragment set:html={name} /> | ||
</th> | ||
)) | ||
} | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{ | ||
specs.map(({ feature, isHeader, isV6, values, available }) => ( | ||
<tr class={(isHeader && ' bg-neutral-50 dark:bg-neutral-800') || ''}> | ||
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} /></td>} | ||
{isHeader && products.map(() => <td class="p-2 text-center" />)} | ||
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ isV6 && <Tag/> }</td> } | ||
{!isHeader && values && (values.map((val) => <td class="px-2 text-muted text-center">{val}</td>))} | ||
{!isHeader && available && available.map((yes) => <td class="px-2 text-muted text-center">{yes && <Tick />}</td>)} | ||
</tr> | ||
)) | ||
} | ||
</tbody> | ||
</table> | ||
</div> | ||
</WidgetWrapper> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
publishDate: 2024-10-15T18:00:00Z | ||
author: ildyria | ||
title: 'Bite-size v6: Beta.2 is Live!' | ||
excerpt: Bite-size v6 is a series of small post showing the progress made on the development of the future version of Lychee. | ||
image: https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?q=80&w=3544&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D | ||
category: Active Development | ||
tags: | ||
- lychee | ||
- vuejs | ||
- v6 | ||
--- | ||
|
||
I got some nice and extensive feedback from Beta 1. | ||
See below the fixes and improvements that have been made in the Beta 2. | ||
|
||
- [x] : Fix pictures not being deleted when clicked on the button. | ||
- [x] : Fix links and bold which were invisible in light mode in Album and Photo descriptions | ||
- [x] : Add link shape check on Upload via Url | ||
- [x] : Dropbox upload is now set to `disabled` if it was empty, no more useless warning in Diagnostics. | ||
- [x] : Import from server is gone from the menu (it was already gone in v5). | ||
- [x] : Some labels have been updated for readability. | ||
- [x] : Added a button in the middle of the screen when the album is empty to prompt the upload of pictures. | ||
- [x] : Drag & Drop fixed on Upload + Full drag & drop support on album pages + Paste image support as upload on album pages. | ||
- [x] : Ongoing progress of uploads is now displayed on top of the modal. | ||
- [x] : Added tooltips on the action bar for photos (star, rotate, delete) | ||
- [x] : In slideshow the actions buttons for photos were still visible (though unusable). | ||
- [x] : Fixed the Edit photo dialog for consistent design. | ||
- [x] : Improved visibility form in Albums. | ||
- [x] : Add set as album header button in photo view | ||
- [x] : Rotating a photo refreshes the photo. | ||
- [x] : Added setting to preserve photo on upload when auto rotation is set. | ||
- [x] : Added swipe left / right to switch picture. | ||
- [x] : Added scroll up / down to switch picture. | ||
- [x] : Fixed some Warnings as Info in Diagnostics. | ||
- [x] : Fixed broken images on thumbs | ||
- [x] : After upload is completed, refresh album in the background | ||
- [x] : Switching from dark mode to light mode and vice-versa no longer requires reloading. | ||
- [x] : Fixed Photo details colors in light mode. | ||
- [x] : Do not show the Map when Map settings is disabled. | ||
- [x] : Fixes error messages showing up full screen when `dist/user.css` and `dist/custom.js` do not exist. | ||
- [x] : Add `GET api/v2/Photo::random` end point to request random pictures, this provides the full data of the photo instead of the src links for the frame. | ||
- [x] : Revamped completely the User Management panel. | ||
|
||
With this out of the pipe, it is now time to release a [new Beta version](https://github.com/LycheeOrg/Lychee/releases/tag/v6.0.0-beta.2). | ||
And as always, the Docker `alpha` tag reflects the latest changes to Version 6. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.