Skip to content

Conversation

@abhi1693
Copy link
Member

Fixes: #13444

@abhi1693 abhi1693 requested a review from jeremystretch August 25, 2023 12:35
Copy link
Member

@DanSheps DanSheps left a comment

Choose a reason for hiding this comment

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

I am not sure if you saw the comment from Jeremy but this should be extended to all component views.

@abhi1693
Copy link
Member Author

@DanSheps Thanks, I really did miss that comment.

@abhi1693 abhi1693 requested a review from DanSheps August 30, 2023 14:12
@abhi1693 abhi1693 changed the title Adds interface rename button on the list page Adds rename button on the list page for device components Aug 30, 2023
Copy link
Member

@DanSheps DanSheps left a comment

Choose a reason for hiding this comment

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

I see a lot of code duplication. Any thoughts on a way to perhaps deduplicate some of this?

For example, a Mixin for ListView like "DeviceComponentListViewMixin", and then have a single template ("devicecomponent_list.html"). Just a thought, not saying we should or have to do this.

Otherwise, it looks good.

@jeremystretch
Copy link
Member

I've converged the model-specific templates into a single one following the pattern we have for component lists under the device view.

@jeremystretch jeremystretch merged commit 004daca into develop Sep 1, 2023
@jeremystretch jeremystretch deleted the feat/13444-interface-rename branch September 1, 2023 20:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a rename button to the device interfaces list

4 participants