-
Notifications
You must be signed in to change notification settings - Fork 32.6k
feat(editor): Add support for project icons #12349
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
Merged
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
afb1215
feat(editor): Add support for project icons
MiloradFilipovic c1d7cf2
✨ Using `is-emoji-supported` lib to render emojis
MiloradFilipovic 647fcda
✅ Adding tests, minor refactoring
MiloradFilipovic dd3992a
💄 Minor spacing update
MiloradFilipovic d04c4eb
✨ Support emojis as default icons
MiloradFilipovic eabe322
🔨 Moving library to plugin file
MiloradFilipovic 33b2ac2
🔨 Updating test constants
MiloradFilipovic 023c378
👌 Moving icon selector inline with project input
MiloradFilipovic 49565e8
Merge branch 'master' into ADO-2791-project-icons
MiloradFilipovic 7571763
⚡️ Backend support for project icons
MiloradFilipovic 47e7575
✨ Rendering saved project icons in the UI
MiloradFilipovic b25c0b1
⚡️ Getting types in line
MiloradFilipovic 7585fd8
⚡️ Updating project icon when project is loaded
MiloradFilipovic ea0b0a2
✨ Automatically saving project icon update
MiloradFilipovic ae51e46
⚡️ Updating project icon in settings header
MiloradFilipovic dbbad87
⚡️ Unifying icon type on backend
MiloradFilipovic e082eb8
✨ Adding icon to `SlimProject`
MiloradFilipovic 16baab7
✨ Implemented `ProjectIcon` component
MiloradFilipovic 03034be
⚡️ Using `ProjectIcon` component in sharing modals
MiloradFilipovic 55bab08
💄 Showing icons in collapsed menu
MiloradFilipovic d53aafc
Merge branch 'master' into ADO-2791-project-icons
MiloradFilipovic c3aac38
🔨 Cleanup
MiloradFilipovic 6b591fc
🔨 More typing cleanup
MiloradFilipovic 0483fb4
⚡️ Using model value for `IconPicker`
MiloradFilipovic bc8019f
⚡️ Updating property in tests
MiloradFilipovic 0b63739
🔥 Cleaning up imports
MiloradFilipovic 6557578
🔨 Memoizing emojis, adding aria attributes
MiloradFilipovic 72c4c90
⚡️ Using computed for emojis
MiloradFilipovic 6def507
⚡️ Adjust button size to container size, refactor storybook entry
MiloradFilipovic b5339c6
🔨 Rendering tabs using `v-if`
MiloradFilipovic 9dd7777
✨ Adding size prop, cleanup
MiloradFilipovic 78bdd40
⚡️ Using `defineModel`
MiloradFilipovic 7527768
🔥 Removing unused class from container
MiloradFilipovic 952a44c
✅ Updating backend tests
MiloradFilipovic a7d94d4
💄 Tighten up icon & emoji styling, adding tooltip component
MiloradFilipovic 7d93a06
✅ Updating `ProjectNavigation` tests
MiloradFilipovic e0cf827
✔️ Adding projects e2e test
MiloradFilipovic 909224c
✅ Add more `IconPicker` tests
MiloradFilipovic e54fad1
Merge branch 'master' into ADO-2791-project-icons
MiloradFilipovic 33d729a
🔥 Removing leftover import
MiloradFilipovic 148dc04
🔨 Moving icons logic to plugin
MiloradFilipovic 14f52d4
🔥Removing hard-coded styles & `only`
MiloradFilipovic c293679
👌 Setting `transaction=true` for sqlite migration
MiloradFilipovic 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
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
10 changes: 10 additions & 0 deletions
10
packages/cli/src/databases/migrations/common/1729607673469-AddProjectIcons.ts
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,10 @@ | ||
import type { MigrationContext, ReversibleMigration } from '@/databases/types'; | ||
export class AddProjectIcons1729607673469 implements ReversibleMigration { | ||
async up({ schemaBuilder: { addColumns, column } }: MigrationContext) { | ||
await addColumns('project', [column('icon').json]); | ||
} | ||
|
||
async down({ schemaBuilder: { dropColumns } }: MigrationContext) { | ||
await dropColumns('project', ['icon']); | ||
} | ||
} |
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
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
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
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.