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

feat: dashboard updates #843

Merged
merged 63 commits into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
945f7d1
Update ci.yaml
salehsquared Jul 24, 2020
d80399b
Check version of google-cloud-shared-config
salehsquared Jul 24, 2020
afc4204
Update pom.xml
salehsquared Jul 24, 2020
98282ff
Update ci.yaml
salehsquared Jul 24, 2020
1861d3b
Update pom.xml
salehsquared Jul 24, 2020
438e5fa
Update ci.yaml
salehsquared Jul 24, 2020
02e35fb
Update ci.yaml
salehsquared Jul 24, 2020
77be68a
Updating permissions on versions script
Jul 24, 2020
ed61410
deps: update dependency com.google.cloud:google-cloud-logging-logback…
salehsquared Jul 24, 2020
9f1fb9a
deps: update dependency com.google.cloud:google-cloud-firestore-bom t…
salehsquared Jul 24, 2020
e224876
Reverting pom.xml after testing changes
Jul 24, 2020
0edb0e5
Merge branch 'master' of https://github.com/salehsquared/java-cloud-bom
Jul 24, 2020
ed33def
Reverting POM version
Jul 24, 2020
b1fe397
Reverting POM version
Jul 24, 2020
14c43ec
Fixing formatting change on ci file
Jul 24, 2020
1150208
Fixing formatting change on ci file
Jul 24, 2020
2616081
Fix for formatting end of file
Jul 24, 2020
b164f1a
Updated dependencies scripts. Separated out, so one script checks for…
Jul 29, 2020
1ad1ae1
Setting ci.yaml file back to original
Jul 29, 2020
807140c
Merge branch 'dependency-versions' of https://github.com/salehsquared…
Jul 30, 2020
9ad1268
Updates to make deps-finder more stable, including using regex. Also …
Jul 30, 2020
8affd08
Updated deps-finder according to comments from Stephanie, Elliotte, a…
Jul 30, 2020
ebbdf93
Updating pom.xml to master branch
Jul 30, 2020
8310661
Merge branch 'master' into dependency-versions
salehsquared Jul 30, 2020
7d745a5
Formatting and curl fixes
Jul 30, 2020
0c7f9b6
Merge branch 'dependency-versions' of https://github.com/salehsquared…
Jul 30, 2020
9d30f20
Merge branch 'master' of https://github.com/googleapis/java-cloud-bom…
Jul 31, 2020
741029e
Separate script for helper functions, conventionalized syntax, verbos…
Jul 31, 2020
39a4c5e
Updated release-versions to match conventions & be more stable readin…
Aug 2, 2020
102c971
Updated search functionality. Cleaned code. Include search by java-cl…
Aug 5, 2020
50635b0
Reformatted comments and added licensing
Aug 5, 2020
65869fc
Major searchbar updates. Updating styling of all-versions page.
Aug 7, 2020
ade2299
Sort functionality added. Added ability to see static version for eac…
Aug 10, 2020
67c73b8
Merge branch 'dashboard-updates' of https://github.com/salehsquared/j…
Aug 10, 2020
376effa
Small sorting fix.
Aug 10, 2020
9378e2f
Smaller changes - styling and code principles
Aug 10, 2020
bfcf0e0
Updated README. Major styling changes for dashboard table
Aug 11, 2020
308ad64
Modified sorting algorithm.
Aug 11, 2020
46559ab
Sorting/arrow algorithm now instant. Minor styling changes.
Aug 11, 2020
b565d67
Fixed searchbar. Added comments. Improved searching.
Aug 11, 2020
0b5b463
Removing dependencies scripts
Aug 11, 2020
d46a286
Removing unnecessary file
Aug 11, 2020
66845f0
Removed bigtable-emulator. Added stylistic changes. Fixed library rem…
Aug 12, 2020
e6b4eaf
Code styling changes
Aug 12, 2020
496ee4e
Style
Aug 12, 2020
fc45f18
Fixed spacing and variable names according to Google standard
Aug 13, 2020
2b75609
Temporarily removing XOM
Aug 14, 2020
0f7201a
Merging with master branch
Aug 14, 2020
60c5fc2
Merge branch 'master' into dashboard-updates
salehsquared Aug 14, 2020
bf9abbf
Added XOM used as an XML parser. Cleaned & reformatted code for grabb…
Aug 14, 2020
70818f5
Merge branch 'dashboard-updates' of https://github.com/salehsquared/j…
Aug 14, 2020
d8bf592
Stylistic changes. Google style sheet
Aug 14, 2020
a81fd58
Fixed VersionData design. Using input stream, and fixed according to …
Aug 14, 2020
bc8271c
Merge branch 'master' into dashboard-updates
salehsquared Aug 14, 2020
00be766
Stylistic and efficiency changes
Aug 15, 2020
dbc8243
Separated out all versions page from regular version data
Aug 15, 2020
39be2a3
Merge branch 'dashboard-updates' of https://github.com/salehsquared/j…
Aug 15, 2020
455a2e6
Removed XML parser, as it's unnecessary.
Aug 15, 2020
a5f2a40
Fixed dashboard design issues
Aug 16, 2020
ea62059
Merge branch 'master' of https://github.com/googleapis/java-cloud-bom…
Aug 17, 2020
07fdaca
Centered table and search bar & change by window size. Additional sea…
Aug 19, 2020
a160e8b
Placed searchbar back outside of table
Aug 19, 2020
2e38251
Update dashboard/src/main/resources/templates/index.ftl
salehsquared Aug 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions dashboard/src/main/resources/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ body {
#libraryVersions {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
margin-left: 12.5%;
margin-right: 12.5%;
width: 75%;
}

#libraryVersions td, #libraryVersions th {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}

#libraryVersions th {
Expand Down Expand Up @@ -156,10 +160,12 @@ ul.jar-linkage-report-cause > li {
}

#filterBar {
width: 25%;
width: 50%;
font-size: 16px;
padding: 12px 20px 12px 40px;
padding: 12px 40px 12px 40px;
border: 1px solid #ddd;
margin-left: 25%;
margin-right: 25%;
margin-bottom: 12px;
background: #f1f1f1;
height: 30px;
Expand Down Expand Up @@ -198,7 +204,7 @@ ul.jar-linkage-report-cause > li {
}

.dropdown-content a:hover {
background-color: white;
background-color: #ddd;
cursor: pointer;
}

Expand All @@ -208,6 +214,5 @@ ul.jar-linkage-report-cause > li {
}

.dropdown:hover .dropdown-button {
background-color: #00b26f;
cursor: pointer;
}
17 changes: 8 additions & 9 deletions dashboard/src/main/resources/templates/index.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@
</section>
</#if>

<#if coordinates != "all-versions">
<h2>Library Versions</h2>
</#if>

<p>Search for artifacts and the versions of associated google-cloud-shared-dependencies each uses,
within its correspondence of Google-Cloud-BOM.</p>
<p>Search by column using column1:value1 (Example: Search for google-cloud-accesssapproval with version 1.4.0
<p>Search by specifying "columnName:data". <br/>
Multi-column search is supported. For example, column1:value1, column2:value2, column3:value3... <br/>
Column name shorthand is supported. For example, gcb:0.132.0, gcsd:0.8.3 <br/>
Search for google-cloud-accesssapproval with version 1.4.0
by using either 'artifact:approval artifact-version:1.4.0' or 'approval 1.4.0' or 'approval, 1.4.0') </p>
<input type="text" id="filterBar" onkeyup="filterFunction()" placeholder="Search...">
<table id="libraryVersions">
Expand Down Expand Up @@ -135,10 +134,10 @@
var name;
if (col.indexOf("google-cloud-bom") > -1 || col.indexOf("gcb") > -1) {
name = cols[0].textContent || cols[0].innerText;
} else if (col.indexOf("artifact") > -1) {
} else if (col.indexOf("artifact") > -1 || col === "a") {
name = cols[1].textContent || cols[1].innerText;
} else if (col.indexOf("artifact-version") > -1) {
name = cols[2].textContent || cols[2].innerText;
} else if (col.indexOf("artifact-version") > -1 || col.indexOf("av") > -1) {
name = cols[2].textContent || cols[2].innerText;
} else if (col.indexOf("google-cloud-shared-dependencies") > -1 || col.indexOf("gcsd") > -1) {
name = cols[cols.length - 1].textContent || cols[cols.length - 1].innerText;
}
Expand Down Expand Up @@ -180,4 +179,4 @@
}
</script>
</body>
</html>
</html>