-
Notifications
You must be signed in to change notification settings - Fork 54
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
frontend: change history link in data job #1884
frontend: change history link in data job #1884
Conversation
661d546
to
d696306
Compare
d696306
to
331c42c
Compare
I recently started using stacked PRs. (this article is great intro- https://benjamincongdon.me/blog/2022/07/17/In-Praise-of-Stacked-PRs/ ) I use git machete to manage my branches and I've found that it's much easier to juggle multiple different changes. That being said, it's ok to submit both in on PR now. Please make sure to click "Rebase and merge" when merging as the default is "squash") Please fill in the testing done section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I'd have made it more configurable/extensible instead of feature fflag.
Like have ExteranlUrlBasedSectionService or something along those lines and somewhere we can configigure
title="Change History"
urlTemplate="http://xxx/{jobName}"
....
If we need one such external URL, we may nee more.
I can imagine one for JupyterHub integration potentially.
But I am ok with the feature flag as well.
I have reviewed only the second commit. The only thing I can note I find the lack of tests a bit disturbing.
And also I reviewed it mostly from functional perspective. It would be need to be reviewed from someone who knows angular/typescript and generally UI development.
I assume there are not functional changes in the first commit from the original source.
Please do add screenshots .
I didn't use stacked PR because of the needs to switch branches and make rebases on every change of the root PR which consumes additional time, but I agree it's easier to track changes and review them. Currently we already have long path to propagate some change from In future I suppose there won't be a need for such huge PR, because almost everything is propagated from @tozka
|
|
88ccd31
to
6912080
Compare
43116af
to
0a3d938
Compare
Propagate 3 features from @taurus/shared - dynamic-components - confirmation - confirmation feature is extended to support message component in addition of supported message text - url-opener There is no expected regression since adding only new features that are not touching anything of existing codebase. Features are almost 100% covered with unit, functional tests. Tested with generating local build, linking built artefacts back to @taurus/shared and then in other libraries and manual validated that everything works correctly, prettier for formatting executed for the new files and also ESLint executed successfully and there are no error issues. Signed-off-by: gorankokin <gorankokin@gmail.com>
Implement feature for Data Job changed history link that is instructed with feature flag whether to show or hide, and on which page to show. Confirmation title and message are provided as dependency injection to the library config. Tested with generating local build, linking built artefacts back to @taurus/shared and then in other libraries and manual validated that everything works correctly. Executed prettier for formatting new files and also successfully executed ESLint and there are no error issues. Signed-off-by: gorankokin <gorankokin@gmail.com>
0a3d938
to
b1b00f5
Compare
1st commit:
frontend: Propagate features from @taurus/shared
Propagate 3 features from @taurus/shared
component in addition of supported message text
There is no expected regression since adding only
new features that are not touching anything of existing
codebase.
Features are almost 100% covered with unit,
functional tests.
Tested with generating local build, linking built artefacts
back to @taurus/shared and then in other libraries
and manual validated that everything works correctly,
prettier for formatting executed for the new files and also
ESLint executed successfully and there are no error issues.
2nd commit:
frontend: Implement changed history for Job
Implement feature for Data Job changed history link that is
instructed with feature flag whether to show or hide, and
on which page to show.
Confirmation title and message are provided as dependency
injection to the library config.
Tested with generating local build, linking built artefacts
back to @taurus/shared and then in other libraries
and manual validated that everything works correctly.
Executed prettier for formatting new files and also
successfully executed ESLint and there are no error issues.