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

table ids are now prefixed by "index_table_" to correct HTML document validity #1966

Closed

Conversation

HoneyryderChuck
Copy link

as discussed here: #1965 (comment)

It would be good though to the IndexTableFor class being specced in isolation.

…idity of the generated HTML, which was seeing the same id being attributed multiple times in the same document
@macfanatic
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

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

Oops

Copy link
Contributor

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?

@seanlinsley
Copy link
Contributor

Speaking of, @macfanatic do you have any idea what's wrong with our Travis builds?

@macfanatic
Copy link
Contributor

@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.

@HoneyryderChuck
Copy link
Author

ups, sorry about that, will take care of it.

@HoneyryderChuck
Copy link
Author

hope there's no more garbage left :)

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.

4 participants