Skip to content
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

Add link to Test Execution #1842

Merged

Conversation

asankov
Copy link
Member

@asankov asankov commented Aug 11, 2020

No description provided.

@asankov asankov self-assigned this Aug 11, 2020
@asankov asankov mentioned this pull request Aug 11, 2020
Copy link
Member

@atodorov atodorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modal needs visual adjustments.

tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
tcms/testruns/static/testruns/js/get.js Show resolved Hide resolved
tcms/testruns/templates/testruns/get.html Outdated Show resolved Hide resolved
@asankov asankov force-pushed the testrun-executions-addlink-modal branch from dc85236 to e71ce80 Compare August 19, 2020 20:04
@asankov
Copy link
Member Author

asankov commented Aug 19, 2020

I still need to fix the alignment of the switch, everything else should be good

Copy link
Member

@atodorov atodorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When adding a hyperlink with Is defect = Yes I get an error on the console.
TypeError: link is undefined - needs testing & fixing.

Also there's no visual feedback that the action was completed. On the refactor_testplan_ui branch there's a small animation effect for each row for these bulk actions that should help. It should probably become a shared function.

tcms/testruns/static/testruns/js/get.js Outdated Show resolved Hide resolved
tcms/testruns/static/testruns/js/get.js Show resolved Hide resolved
Copy link
Member

@atodorov atodorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase and leave only the last commits

to be used in the modal that creates hyperlink
for out-of-the-box validation
For each TestExecution in TestRun page.
Use LinkReference form for validation.
- mark text for translation
- remove 'update bug tracker' dropdown
- use 'template' instead of html in js
- `btn-danger`, not `btn-default`
- don't fail if `tracker` is None
- use `.click(handler)` instead of `.on('click', handler)`
- bootstrap switch allignment
@asankov asankov force-pushed the testrun-executions-addlink-modal branch from 30c7c0f to 4c4385c Compare August 24, 2020 08:11
@asankov
Copy link
Member Author

asankov commented Aug 24, 2020

rebased

Copy link
Member

@atodorov atodorov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Label & input alignment still not aligned very well:
Снимка на 2020-08-24 17-19-28

See this comment #1842 (comment)

Still missing animation for visual feedback that something has changed, see #1842 (review)

- animate row when a new link is added
- add -sm- class to 'is a defect' select
@asankov
Copy link
Member Author

asankov commented Aug 24, 2020

@atodorov both should be resolved now

@atodorov atodorov merged commit b3113a9 into kiwitcms:refactor_testrun_ui Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants