-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: Refactor app & account management UI code #44092
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 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
14bdc11
feat(settings): Refactor routing code to use named router views
susnux e678b77
feat(settings): Split appstore code into better maintainable pieces
susnux 289e43a
fix: Get rid of PrefixMixin
susnux 84cb04f
feat: Make appstore sidebar tabs standalone components
susnux 5f19ace
feat: Add composable to fetch app icon as SVG for inline use
susnux 2b794b4
feat(settings): Refactor appstore to use Pinia
susnux 1100e90
feat(settings): Split account management and app store views into chunks
susnux 30d5b02
feat(settings): Split account management into navigation and content
susnux cbdadba
fix(settings): Always open the details tab for selected app
susnux 78bcab1
fix(settings): Save account management settings in local storage
susnux fc73bd0
chore: Compile assets
susnux 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
feat(settings): Split account management and app store views into chunks
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- Loading branch information
commit 1100e908b79ddecd1198c682ac3dcc41f2871122
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 |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| /** | ||
| * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de> | ||
| * | ||
| * @author Ferdinand Thiessen <opensource@fthiessen.de> | ||
| * | ||
| * @license AGPL-3.0-or-later | ||
| * | ||
| * This program is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU Affero General Public License as | ||
| * published by the Free Software Foundation, either version 3 of the | ||
| * License, or (at your option) any later version. | ||
| * | ||
| * This program is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU Affero General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU Affero General Public License | ||
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| */ | ||
|
|
||
| export interface IAppstoreCategory { | ||
| /** | ||
| * The category ID | ||
| */ | ||
| id: string | ||
| /** | ||
| * The display name (can be localized) | ||
| */ | ||
| displayName: string | ||
| /** | ||
| * Inline SVG path | ||
| */ | ||
| icon: string | ||
| } | ||
|
|
||
| export interface IAppstoreAppRelease { | ||
| version: string | ||
| translations: { | ||
| [key: string]: { | ||
| changelog: string | ||
| } | ||
| } | ||
| } | ||
|
|
||
| export interface IAppstoreApp { | ||
| id: string | ||
| name: string | ||
| summary: string | ||
| description: string | ||
| licence: string | ||
| author: string[] | Record<string, string> | ||
| level: number | ||
| version: string | ||
| category: string|string[] | ||
|
|
||
| preview?: string | ||
| screenshot?: string | ||
|
|
||
| active: boolean | ||
| internal: boolean | ||
| removeable: boolean | ||
| installed: boolean | ||
| canInstall: boolean | ||
| canUninstall: boolean | ||
| isCompatible: boolean | ||
|
|
||
| appstoreData: Record<string, never> | ||
| releases: IAppstoreAppRelease[] | ||
| } |
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.
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.