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 activate/deactivate missing user; tool store sorting #285

Merged
merged 2 commits into from Dec 14, 2022

Conversation

kaipot
Copy link
Contributor

@kaipot kaipot commented Dec 1, 2022

Changes

  • TestResults: add links to deactivate missing users on rundown page
  • SkylineToolsStore: add sorting by name/download and some small css fixes on detail page

@kaipot kaipot requested a review from vagisha December 1, 2022 23:57
@kaipot kaipot self-assigned this Dec 1, 2022
@kaipot kaipot changed the base branch from develop to release22.7-SNAPSHOT December 1, 2022 23:57
@github-actions
Copy link

github-actions bot commented Dec 1, 2022

ERROR: A pull request from 22.7_fb_small_updates is expected to target release22.7-SNAPSHOT, not develop

Copy link
Collaborator

@vagisha vagisha left a comment

Choose a reason for hiding this comment

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

Just a couple of comments.

@@ -410,8 +406,7 @@ a.banner-button-small{
<% } %>
</div>

<a class="banner-button-small" style="float:left; margin-top:2px; margin-left:2px;" href="/labkey/project/home/software/Skyline/tools/Support/<%=h(tool.getName())%>/begin.view?" target="_blank">Support Board</a>

<button class="banner-button-small" href="/labkey/project/home/software/Skyline/tools/Support/<%=h(tool.getName())%>/begin.view?" target="_blank">Support Board</button>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would this work for href?
href<%=h(urlProvider(ProjectUrls.class).getBeginURL(getContainer().getChild("Support").getChild(tool.getName())))%>
Perhaps SkylineTool could have a getSupportContainer method. Also, we no longer need '?' at the end of URLs that don't have query parameters.


<table id="<%= h(tableId) %>" class="tablewrap"
data-toolId="<%= h(tool.getRowId()) %>" data-toolName="<%= h(tool.getName()) %>" data-toolVersion="<%= h(tool.getVersion()) %>" data-toolLsid="<%= h(tool.getIdentifier()) %>"
data-toolDownloads="<%= h(numDownloads) %>">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think numbers need to be HTML-encoded.

@kaipot kaipot merged commit 814ec08 into release22.7-SNAPSHOT Dec 14, 2022
@kaipot kaipot deleted the 22.7_fb_small_updates branch December 14, 2022 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants