-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Intro
Welcome!
Since I find it quite awesome that we can use global events, I think we should aim for a nice convention.
Let's list an example of potential events we could see across Nextcloud... 🤔
Thoughts
- A file have been updated
- An app have been enabled/disabled
- A contact have been deleted
- A file have been uploaded
- A header menu have been opened
- The sidebar have been toggled
- ...
Goals
I think it would be nice to have some kind of modifier syntax.
I really dislike underscores, so I would favour dashes.
Proposal
files:file.updatecontacts:contact.deletenextcloud:app.disablenextcloud:unified-search.search
Sub-proposal
I would love to be able to watch for partial event names.
Like file:update:12345 and file:update would both trigger if the file 13245 is updated?
Questions
-
Shall we enforce the dashes and throw errors -
Shall we strongly suggest the syntaxevent:modifier:data(e.g.file:update:12345)-
If so, theheader-menu-unified-search:openshould most likely beheader-menu:open:unified-search?
-
Thanks!
cc @georgehrke @korelstar @ma12-co @juliushaertl @ChristophWurst @raimund-schluessler @danxuliu @rullzer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested