-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
table ids are now prefixed by "index_table_" to correct HTML document validity #1966
Conversation
…idity of the generated HTML, which was seeing the same id being attributed multiple times in the same document
Looks good, will make sure the tests pass & merge in when I get a chance. |
@@ -108,8 +108,9 @@ module Views | |||
class IndexAsTable < ActiveAdmin::Component | |||
|
|||
def build(page_presenter, collection) | |||
debugger |
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.
Oops
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.
Good eye, was just testing locally & noticed that
@TiagoCardoso1983 - will you amend your commit to remove that & force a push back up to this branch?
Speaking of, @macfanatic do you have any idea what's wrong with our Travis builds? |
@daxter - I'm not familiar with Travis, but I can see for instance that there are 15 cukes that fail, related to filters & scoping of index listings. Was going to pair with someone to see what could be done about that. |
ups, sorry about that, will take care of it. |
hope there's no more garbage left :) |
as discussed here: #1965 (comment)
It would be good though to the IndexTableFor class being specced in isolation.