Uh oh!
There was an error while loading. Please reload this page.
Workflow frontend overhaul - #16706
Conversation
jancborchardt
commented
Aug 9, 2019
Doing make or |
rullzer
commented
Aug 10, 2019
Run in in the main folder. We have all the apps using the same webpack config else we'd be updating 14 apps all the time instead of just 1 folder |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Some additional points: |
blizzz
commented
Aug 12, 2019
Automated Tagging. |
81ff4db to
b91a184Compare7ada0e5 to
5724f59Comparejuliusknorr
commented
Aug 29, 2019
@jancborchardt I've fixed a bunch of design issues we have discussed and added some screenshots of the current state to the 1st post. Feedback is welcome |
Uh oh!
There was an error while loading. Please reload this page.
jancborchardt
commented
Aug 31, 2019
Looking at the screenshots and using the app again, it seems that there’s a loooot of horizontal whitespace we can’t really do much about with a list-type layout. It’s all a bit floating in the air. It seems that vertical boxes for the actions would fit better, as we thought about for mobile @juliushaertl? It would have the maximum width of the 3 inputs which are in the "When" condition.
So then two or even three of these blocks could be next to each other on desktop. |
juliusknorr
commented
Sep 2, 2019
I don't think that would be a good idea, since the height of the entry is variable to how many and conditions are used and if the operation provide additional options (e.g. automated tagging provides an input field for the list of tags, but this could by anything that needs to be configurable) How about just reducing the height a bit by using a more condensed styling for the operation like this: |
jancborchardt
commented
Sep 2, 2019
@juliushaertl ok, already looks a bit better! :) |
d2b0bca to
162f184Compare3cdcbba to
2afcbcaCompare
ChristophWurst
left a comment
There was a problem hiding this comment.
Some nitpicks from the fraction of code I've reviewed :)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
209a276 to
1cc6f34CompareSigned-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2afcbca to
7683208Compare| } | ||
| }, | ||
| computed: { | ||
| Checks() { |
There was a problem hiding this comment.
| Checks() { | |
| checks() { |
| <template> | ||
| <MultiselectTag v-model="newValue" :multiple="false" | ||
| label="Select a tag" |
Uh oh!
There was an error while loading. Please reload this page.
| */ | ||
| const getApiUrl = (url) => { | ||
| const scopeValue = OCP.InitialState.loadState('workflowengine', 'scope') === 0 ? 'global' : 'user' |
There was a problem hiding this comment.
you could move this up to the module initialization block so it only runs once. OCP should be ready before the app's code
| */ | ||
| const validateRegex = function(string) { | ||
| var regexRegex = /^\/(.*)\/([gui]{0,3})$/ |
There was a problem hiding this comment.
move this and the other regexes out of the functions so they are only created once
and use const :)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
blizzz
left a comment
There was a problem hiding this comment.
good base (mentioned smaller things for follow ups)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>

This PR still requires quite some cleanup and polishing, once the backend changes are ready to be integrated from #16682
TODO
.icon-close(❌) is a better icon for removing the current line than the "Delete" trash..actions__itemelement could do with acursor: pointer, but because our reset hascursor: defaulton div and h3 we need to set it on those elements too.ToDo in a follow up PR
Extending the frontend
Registering a new check
Check with custom validate/placeholder
Check with custom vue component
Registering a new operation in the frontend
Screenshots