Skip to content

Refactor/datatable button link improvments#75

Merged
saemideluxe merged 5 commits intomainfrom
refactor/datatable-button-link-improvments
Sep 7, 2021
Merged

Refactor/datatable button link improvments#75
saemideluxe merged 5 commits intomainfrom
refactor/datatable-button-link-improvments

Conversation

@saemideluxe
Copy link
Member

No description provided.

@saemideluxe saemideluxe requested a review from wipascal September 4, 2021 08:48
@saemideluxe
Copy link
Member Author

Sorry for the changes in bread/contrib/workflows, I forgot to switch branches when working on that part.

return qs

@staticmethod
def gen_rowclickaction(modelaction):
Copy link
Contributor

Choose a reason for hiding this comment

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

I would find it nice to use an enum here.. or at least a docstring that lists the possible modelactions

Copy link
Member Author

@saemideluxe saemideluxe Sep 6, 2021

Choose a reason for hiding this comment

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

Well, we cannot have a definite list of modelactions because they depend on the model-views that have been added and their accorind url-names. But right, a doc string would make sense to explain the behaviour.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, added a docstring.

Copy link
Contributor

@wipascal wipascal left a comment

Choose a reason for hiding this comment

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

looks very good!

@saemideluxe saemideluxe merged commit 4b0e0fe into main Sep 7, 2021
@saemideluxe saemideluxe deleted the refactor/datatable-button-link-improvments branch December 23, 2021 02:11
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.

2 participants