-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
A new about dialog #9151
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
Draft
adoriandoran
wants to merge
63
commits into
main
Choose a base branch
from
feat/about-dialog-overhaul
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
A new about dialog #9151
Changes from 50 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
f01bebe
client: create a Vite plugin to generate a contributor list JSON at t…
adoriandoran 4d75339
refactor: normalize to double quotes
adoriandoran 6481b90
client: retrieve the contributor list
adoriandoran 92f1048
client/contributor list: add support for honorific contributors
adoriandoran fb691f6
client/contributor list: add extra bot exclusion
adoriandoran 0525114
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran 8d5e82f
client/contributor list: refine filtering
adoriandoran 3157852
client/about dialog: create a new UI
adoriandoran 19dfbaa
client/about dialog: improve, add GitHub and donate buttons
adoriandoran 75da044
client/about dialog: add a link for the build revision
adoriandoran 8f23874
client/about dialog: add an indication for the nightly version, use S…
adoriandoran 1b91244
client/about dialog: switch to boxicons
adoriandoran 555d997
client/about dialog: show the dialog only after the required informat…
adoriandoran b4d0af6
client/modals: make the title optional
adoriandoran 978e023
client: revert the Vite build script
adoriandoran 7646d8b
client: update the contributor list via a script, persist the list in…
adoriandoran e7adf08
scripts/update contributor list: add role for pinned contributors
adoriandoran f00e051
scripts/update contributor list: add completion feedback
adoriandoran 015e50c
scripts/update contributor list: refactor
adoriandoran b32dd94
scripts/update contributor list: add full name support for pinned con…
adoriandoran a7a1e5c
scripts/update contributor list: optimize
adoriandoran db98884
scripts/update contributor list: refactor
adoriandoran f6e92c4
client/about dialog: show the contributor list
adoriandoran 129f1cc
client/about dialog: add a full list link, improve layout
adoriandoran fc6bdb5
client/about dialog: refactor
adoriandoran dfd68ca
scripts/update contributor list: update indentation size
adoriandoran 97e52e5
Update scripts/update-contributor-list.ts
adoriandoran 3502324
client/about dialog: add keys to the contributor list
adoriandoran 680fb41
Merge branch 'feat/about-dialog-overhaul' of https://github.com/Trili…
adoriandoran 0a0157a
style/about dialog: improve appearance
adoriandoran 11a46f0
client/about dialog: reduce the contributor list length to 10
adoriandoran 1c74a01
style/about dialog: create a card-like table style
adoriandoran 8c86f9f
client/about dialog: fix unwanted array mutation
adoriandoran 9d3c997
style/about dialog: improve appearance
adoriandoran 3889d7a
client/about dialog: add a license link
adoriandoran 0fb3f98
client/about dialog: add some tooltips
adoriandoran 2d21627
client/about dialog: refactor
adoriandoran a6b1af6
style/about dialog: improve appearance
adoriandoran d370ee2
style/about dialog: select the icon using CSS class names
adoriandoran a81dae2
client/about dialog: allow toggling to the classic icon
adoriandoran 591b3a1
style/about dialog: add icon animation
adoriandoran 496405d
client/about dialog: add custom tooltips
adoriandoran 573ab07
client/about dialog: add a delay for contributor link hover event
adoriandoran 0386e7d
style/about dialog: add a clue about contributor links with a tooltip
adoriandoran 8dafd91
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran d4552fa
client/about dialog: refactor
adoriandoran 72cc5cc
style/about dialog: update the donate button link on light theme
adoriandoran 3552097
style/tooltips: use higher contrast on the light theme
adoriandoran 87fb568
style/about dialog: customize the style of tooltips used for brief hi…
adoriandoran 2432bb1
style/about dialog: allow long directory paths to be wrapped
adoriandoran ce4883e
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran 601f246
style/about dialog: move the brief history tooltip from the contribut…
adoriandoran d61e399
style/about dialog: add an animation to the donate button
adoriandoran 3720851
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran 3a8f0e0
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran d3c927e
style/about dialog: exclude the brackets from the contributor role to…
adoriandoran e6db4a5
client/about dialog: update the version format
adoriandoran 7f75ab0
client/about dialog: define the strings for a brief history
adoriandoran 262c89d
style/about dialog: tweak the tooltip clues
adoriandoran 12a8351
style/about dialog: add a different background color for nightly builds
adoriandoran d65d7db
client/about dialog: refactor
adoriandoran 4bc1d93
style/about dialog: lower CSS selector specificity
adoriandoran 28b1eb7
Merge branch 'main' of https://github.com/TriliumNext/Trilium into fe…
adoriandoran 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,174 @@ | ||
| .about-dialog { | ||
|
|
||
| body.light-theme & { | ||
| --donate-button-color: #e33f3b; | ||
| } | ||
|
|
||
| body.dark-theme & { | ||
| --donate-button-color: #fba6a5; | ||
| } | ||
|
|
||
| --bs-modal-width: 680px; | ||
|
|
||
| .icon { | ||
| width: 160px; | ||
| height: 160px; | ||
|
|
||
| &[data-icon="default"] { | ||
| background-image: url(../../assets/icon.svg); | ||
| } | ||
|
|
||
| &[data-icon="nightly"] { | ||
| background-image: url(../../assets/icon-nightly.svg); | ||
| } | ||
|
|
||
| &[data-icon="default"], | ||
| &[data-icon="nightly"] { | ||
| animation: icon-intro 500ms ease-out; | ||
| will-change: opacity, transform; | ||
| } | ||
|
|
||
| &[data-icon="classic"] { | ||
| mask-image: url(../../assets/icon-classic.svg); | ||
| background-color: var(--muted-text-color); | ||
| animation: icon-classic-intro 300ms ease-in-out; | ||
| will-change: opacity, transform; | ||
| } | ||
| } | ||
|
|
||
| h2 { | ||
| all: unset; | ||
| font-size: 2em; | ||
| font-weight: 300; | ||
| letter-spacing: 1pt; | ||
|
|
||
| .channel-name { | ||
| opacity: .75; | ||
| } | ||
| } | ||
|
|
||
| .about-dialog-content { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .property-sheet-table { | ||
| margin-block: 30px; | ||
| font-size: .85em; | ||
| margin-inline: 20px; | ||
| } | ||
|
|
||
| .build-info { | ||
| color: var(--muted-text-color); | ||
| font-size: .9em; | ||
| } | ||
|
|
||
| .contributor-list { | ||
| a, span { | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| a.has-tooltip { | ||
| text-decoration: underline dotted var(--main-text-color) !important; | ||
| } | ||
| } | ||
|
|
||
| footer { | ||
| display: flex; | ||
| justify-content: center; | ||
| gap: 10px; | ||
| margin-bottom: 30px; | ||
|
|
||
| a { | ||
| --_icon-size: 28px; | ||
|
|
||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| padding: 8px 10px; | ||
| border-radius: 6px; | ||
| font-size: .9rem; | ||
| color: var(--main-text-color); | ||
|
|
||
| &:hover { | ||
| background: var(--icon-button-hover-background); | ||
| } | ||
|
|
||
| &::after { | ||
| display: none; | ||
| } | ||
|
|
||
| i { | ||
| font-size: var(--_icon-size); | ||
| } | ||
|
|
||
| svg { | ||
| fill: currentColor; | ||
| height: var(--_icon-size); | ||
| } | ||
|
|
||
| &.donate-link { | ||
| color: var(--donate-button-color); | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .about-dialog-brief-history-tooltip { | ||
| --main-font-size: .85em; | ||
| } | ||
|
|
||
| @keyframes icon-intro { | ||
| from { | ||
| opacity: 0; | ||
| transform: scale(.5); | ||
| } to { | ||
| opacity: 1; | ||
| transform: scale(1); | ||
| } | ||
| } | ||
|
|
||
| @keyframes icon-classic-intro { | ||
| from { | ||
| opacity: 0; | ||
| transform: rotate(50deg) scale(.5); | ||
| } to { | ||
| opacity: 1; | ||
| transform: rotate(0deg) scale(1.25); | ||
| } | ||
| } | ||
|
|
||
| /* TODO: move to global styles */ | ||
| .property-sheet-table { | ||
| border-spacing: 0 2px; | ||
| border-collapse: separate; | ||
|
|
||
| tr { | ||
| --_br: 8px; | ||
|
|
||
| background: var(--card-background-color); | ||
|
|
||
| &:first-child { | ||
| clip-path: inset(0 round var(--_br) var(--_br) 0 0); | ||
| } | ||
|
|
||
| &:last-child { | ||
| clip-path: inset(0 round 0 0 var(--_br) var(--_br)); | ||
| } | ||
| } | ||
|
|
||
| td { | ||
| padding: 10px 16px; | ||
| vertical-align: top; | ||
|
|
||
| &:first-child { | ||
| white-space: nowrap; | ||
| color: var(--muted-text-color); | ||
| } | ||
|
|
||
| &:last-child { | ||
| width: 100%; | ||
| } | ||
| } | ||
| } |
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.