-
-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: delete and create tags from tag database panel (#569)
* [feat] can now add a new tag from the tag library panel * [feat] can remove tags from the tag library panel [fix] library panel updates tag list when a new tag is create * [test] added test for library->remove_tag * [fix] type error * removed redundant lambda Co-authored-by: VasigaranAndAngel <[email protected]> * fix: tags with a reserved id could be edited or removed, now they cannot. * fix: when a tag is removed or edited the preivew panel will update to reflect the changes Co-authored-by: Sean Krueger <[email protected]> * fix: mypy check * fix: aliases and subtags not being removed from DB when tag they reference was removed. * feat: added a confirmation message box when removing tags. * fix: mypy --------- Co-authored-by: VasigaranAndAngel <[email protected]> Co-authored-by: Sean Krueger <[email protected]>
- Loading branch information
1 parent
8387676
commit fdfd649
Showing
6 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -13,3 +13,4 @@ | |
|
||
TAG_FAVORITE = 1 | ||
TAG_ARCHIVED = 0 | ||
RESERVED_TAG_IDS = range(0, 999) |
This file contains 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 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 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 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 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