Commit Graph

298 Commits

Author SHA1 Message Date
Christoph Kluge
e32042204b Change histograms to uplot where x-axis is number 2023-08-09 12:42:25 +02:00
Christoph Kluge
423e800d9e feat: add hover-legend to histograms & metricplots 2023-08-08 13:27:01 +02:00
Christoph Kluge
298051c334 add fallback for acc metrics only on node level 2023-08-04 10:54:18 +02:00
Christoph Kluge
8a473de793 fix: core/accelerator scope in statstable on load 2023-08-03 19:09:15 +02:00
Christoph Kluge
4244a37440 fix: correct timestamp logic in node-view 2023-08-03 12:38:00 +02:00
Christoph Kluge
6e0c13df89 Correct negative relative timestamps for node view 2023-08-03 12:27:03 +02:00
Christoph Kluge
1921be661b Fix x-axis order for relative timestamps
- WIP: Will change to full times, as tick location is incorrect
2023-08-02 14:20:39 +02:00
Christoph Kluge
284a7079d6 Invert time x-axis for node view metric plots 2023-08-01 18:37:50 +02:00
Christoph Kluge
36abed2093 feat: add auto-reloading to system and node views 2023-08-01 15:30:21 +02:00
Christoph Kluge
742c2e399e feat: Add uplot histogram, implemented in userview
- For testing
- add conversion function to utils
2023-07-26 13:44:06 +02:00
Christoph Kluge
2655bda644 feat: enable uplot XY-Zoom for metrics
- Disable jobView manual zoom
2023-07-24 11:12:22 +02:00
Christoph Kluge
f7571211fd initial branch commit 2023-07-21 16:33:53 +02:00
Jan Eitzinger
25f5a889d0
Merge pull request #183 from ClusterCockpit/180_fix_render_acc_nodescope
fix: check if acc metrics are acc scope by default
2023-07-20 07:41:09 +02:00
Joachim Meyer
650bcae6be Add arrayJobId searchbar option. 2023-07-19 09:46:48 +02:00
Christoph Kluge
eed8bb2d44 fix: add scrambling to user names and projectIds 2023-07-17 15:45:40 +02:00
Christoph Kluge
58c7b0d1b4 fix: check if acc metrics are acc scope by default
- Fixes #180
2023-07-17 14:26:24 +02:00
Christoph Kluge
5a67569fd3 Fix keyword in node view jobs query 2023-07-03 09:45:09 +02:00
8fee8fcab2 Revert check for null in concurrent job list 2023-07-03 09:37:25 +02:00
120567269d Make state filter array 2023-07-03 09:01:28 +02:00
Christoph Kluge
2f471dc192 Change listQuery to jobId array, adapt filter pipe 2023-06-30 16:55:34 +02:00
Christoph Kluge
4729905322 Forgot to adapt link 2023-06-30 15:06:26 +02:00
Christoph Kluge
aacb7489e6 StartTime not required for jobs running on node 2023-06-30 15:04:01 +02:00
Christoph Kluge
c04aea89c9 Implement node filter in frontend, fix backend
- Add running job count and link to list to single node view
2023-06-30 12:01:27 +02:00
Christoph Kluge
08063feef2 Add listQuery link to job view concurrentJobs 2023-06-29 14:59:51 +02:00
Christoph Kluge
b450cdd20f Add logic step to findThresholds
- fixes reference lines for subclusters w/o extra config
2023-06-20 13:16:00 +02:00
Christoph Kluge
5ba84efab6 User and Project List with 30d filter plus label
- Readable labels for other quick select ranges also
- Note: URL not reformatted for copy-bility
2023-06-19 17:59:44 +02:00
Christoph Kluge
c8068f45eb Rework disabled metrics, fix systems
- Unify warning card texts
- Broader use of checkMetricDisabled function
2023-06-19 16:11:16 +02:00
Christoph Kluge
10ca86e583 Handle removed metrics in isMissing check 2023-06-19 10:25:34 +02:00
Christoph Kluge
c5834e69d3 Fix Plottable removed metrics filter
- excluded all plots where bool was not explicitly set
2023-06-19 09:51:50 +02:00
Christoph Kluge
4c708dba3f Improve alignment of notice cards 2023-06-16 16:49:19 +02:00
Christoph Kluge
f466312015 Skip render of disabled metrics in job view
-Add function to check if metric is disabled
-Relates to  #119
2023-06-16 16:27:30 +02:00
Christoph Kluge
19ad462abf Match fixed scopeGranularity in frontend 2023-06-16 15:21:10 +02:00
Christoph Kluge
4cfe52e7c9 Add warning card if no data to plot
- series.data array empty, but toplevel data return itself OK
2023-06-16 15:09:23 +02:00
Christoph Kluge
e577e086a6 Fix Format for nodes status 2023-06-16 13:01:41 +02:00
Christoph Kluge
ece57bf65e Introduce units.js, centralizes value normalizing 2023-06-16 12:44:34 +02:00
Christoph Kluge
dbd2b491ed Correct default values when switching clusters 2023-06-15 16:11:51 +02:00
Christoph Kluge
2146fccaae Improve resources filter 2023-06-15 15:40:24 +02:00
Christoph Kluge
2b9afe8f1d Improve scopes queried by default: adds accels 2023-06-14 17:28:40 +02:00
Christoph Kluge
222e697b2f Fix threshold lines not rendering 2023-06-14 16:46:17 +02:00
Christoph Kluge
16d5fa182c Fix unit load blocking systems and node views 2023-06-14 15:32:35 +02:00
Christoph Kluge
5e8b687992 Increase clickable area in systems node links 2023-06-14 12:56:19 +02:00
Christoph Kluge
a43ca80ce5 Hide switch to enable rsizing
- Confusing option for user
- Keeps performance fix of fixed canvas dimensions
2023-06-14 11:42:01 +02:00
Christoph Kluge
3c2ad234df Remove non required dev leftover 2023-06-13 16:49:34 +02:00
Christoph Kluge
b7fa4f17d2 Merge branch 'hotfix' of https://github.com/ClusterCockpit/cc-backend into hotfix 2023-06-13 16:43:34 +02:00
Christoph Kluge
cdd25eaa15 Fix job view scope dropdown data load 2023-06-13 16:42:32 +02:00
Christoph Kluge
8aa7f4eb07 Fix roofline data reference
- caused roofline data being regarded as missing
2023-06-13 16:42:04 +02:00
addeeea395 Update documentation and streamline language 2023-06-13 15:14:19 +02:00
Christoph Kluge
dd74f27708 Add adaptive histogram sizing toggle
- Patches lagging filters in single-user view
-See comment in User.root.svelte for detail
2023-06-12 17:01:07 +02:00
Christoph Kluge
02c31a24bd Add filter presets to status list links 2023-06-12 12:12:15 +02:00
Christoph Kluge
0d2e20e9e4 Handle users with no roles as "user role"
-for backwards compatibility
2023-06-12 11:35:16 +02:00
Christoph Kluge
71db1f8cdd Remove hardcoded time label 2023-06-09 13:55:09 +02:00
Christoph Kluge
6e5afd1192 Add switch for small histograms
- adapts distance of labels to x axis
2023-06-09 13:30:55 +02:00
Christoph Kluge
3d75f0ef3c Fix missed variable name change 2023-06-09 12:42:01 +02:00
Christoph Kluge
9f42f5b28f Add TotalAccHours to project and user lists 2023-06-09 12:28:24 +02:00
Christoph Kluge
4e568e60cd Del JobName from Job type, jobStats name required
- Regenerated GQL
- Relates to #121
- return jobStats name as string
2023-06-07 14:13:59 +02:00
Christoph Kluge
dbebecfcdb Update variable naming for filter implementation 2023-06-06 17:03:08 +02:00
Christoph Kluge
b63969e5cc Update variable naming for filter implementation 2023-06-06 16:58:08 +02:00
Christoph Kluge
246ac0563f Fix filter implementation in user view 2023-06-06 16:52:40 +02:00
Christoph Kluge
37d9b5172b Fix UserOrProject functionality
- fixed by restoring correct implementation of filters in frontend
2023-06-06 16:28:54 +02:00
Christoph Kluge
37d5db443f Merge branch 'master' into 97_107_mark_and_show_shared 2023-06-01 15:24:26 +02:00
Christoph Kluge
541d54aa7c Users/Managers only display number of shared jobs 2023-06-01 15:13:12 +02:00
Christoph Kluge
270750a78d Move concurrentJobs as field to main job query 2023-05-16 12:42:06 +02:00
Christoph Kluge
96e4448505 Format cleanup 2023-05-12 11:19:37 +02:00
Christoph Kluge
23e485afce Mutations second pass, add subscriptions + errors 2023-05-12 11:05:39 +02:00
Christoph Kluge
4bd1d30aa5 Adapt TagManagement to new urql version 2023-05-11 18:33:48 +02:00
Christoph Kluge
1ac16516fe Second part of refix 2023-05-11 11:43:35 +02:00
Christoph Kluge
b89e1c0d08 Fix loading of roofline plot
- Was fixed before, see issue #70
- Probably re-introduced when manually merging large branch
2023-05-11 10:49:12 +02:00
Christoph Kluge
374a485d69 Further adaptions to new urql version 2023-05-10 16:35:21 +02:00
Christoph Kluge
280d63a852 Adapt analysis and list to new urql version
- plotSelection.svelte not yet working
2023-05-09 15:01:56 +02:00
Christoph Kluge
a1ef7c6416 Fix reload in jobList 2023-05-09 12:40:42 +02:00
Christoph Kluge
59a99b75e3 Adapt Row.svelte to new urql version
- Fixes data not loading on metric changes
2023-05-09 11:58:57 +02:00
Christoph Kluge
3afcd061ef Actually add file ... 2023-05-08 18:06:58 +02:00
Christoph Kluge
b5a5def3a6 Adapt user jobview to new version, fix refresher
- add manually triggered refresh function to jobList
- Changing displayed metrics requires hard refresh (F5) to load data
-> Under investigation
2023-05-08 18:06:36 +02:00
Christoph Kluge
760d3dec0f Fix frontend error when loading unconfig'd metric 2023-05-08 17:43:34 +02:00
Christoph Kluge
b8e864e6e4 Fix Filters and Pagination on JobList exemplarily 2023-05-05 17:01:50 +02:00
52738c7f8e Start to fix errors with urql 4 2023-05-05 10:07:12 +02:00
bb20ed655a Regenerate GraphQL Server 2023-05-04 11:29:53 +02:00
518f4664a1 Continue fixing errors 2023-05-04 09:19:43 +02:00
f235b5e911 Start porting to new urql api
It compiles. Not tested
2023-05-03 16:41:17 +02:00
3e2a462b38 update frontend env
* Switch from yarn to plain npm
* Update all package dependencies
* Start to port to new APIs
2023-04-29 07:25:03 +02:00
Christoph Kluge
a337482fa2 Add shared metric marker to job view plots 2023-04-28 14:34:44 +02:00
Christoph Kluge
d93610f700 List parallel jobs on node for jobs on shared node
- Relates to issue #97
- required GQL schema extension and regeneration
- Works for archived jobs aswell
2023-04-28 12:34:40 +02:00
Christoph Kluge
e9301a5d39 Mark shared metrics on shared jobs
- show [shared] in plots in JobList
- other plot locations Todo
- Relates to issue #107
2023-04-28 12:30:46 +02:00
Christoph Kluge
a8980c7a5e Small touches on status view 2023-04-12 18:00:28 +02:00
Christoph Kluge
7fc6f6b0af Add more reactivity to metricSelection 2023-04-12 15:59:08 +02:00
Christoph Kluge
4cb48dc3ed Fix GQL query for rooflineheatmap
- was missing value subfield after definition rework
2023-04-12 10:57:32 +02:00
Christoph Kluge
33ed07a35a Fix role notes on new user form, reset on submit 2023-04-11 17:27:33 +02:00
Christoph Kluge
753ced2787 Fix data transfer mismatch at roofline component 2023-04-11 16:57:35 +02:00
Christoph Kluge
184769ab9c Merge branch 'import-data-sanitation' of https://github.com/ClusterCockpit/cc-backend into import-data-sanitation 2023-04-11 16:29:42 +02:00
Christoph Kluge
dd2b4609a3 Plot axis label sizing and padding 2023-04-11 16:29:39 +02:00
Jan Eitzinger
f8ba79e9e7 Merge branch 'master' into import-data-sanitation 2023-04-07 08:57:42 +02:00
Christoph Kluge
adc1d94e3f subcluster in metricSelect, add infobox to systems
- Default: Show Clusters next to Metrics
- New: If Cluster filter activem show subclusters instead (reactive)
- add note to analysis view
- systems view now with info boxes if metric is removed for subcluster
2023-03-31 17:18:16 +02:00
Christoph Kluge
68a839bf1c Remove comments 2023-03-30 15:23:31 +02:00
Christoph Kluge
0c1b66aad9 Adapt svelte to new schema, add removed metric box
- Moved 'scope' field to parent jobMetric
- Implemented unit { prefix, base } where necessary
- SubCluster Metric Config 'remove' option implemented in Joblists
2023-03-30 15:21:35 +02:00
Christoph Kluge
f37e7c26f6 Rework roles as enum, change AuthSource to enum 2023-03-06 11:44:38 +01:00
Christoph Kluge
8bd72ce807 Small fixes after full file review
- Remove unnecessary field 'project' from GQl and regenerate
- Add newlines to file ends
- Fix command-line manager user addition
2023-02-23 12:33:14 +01:00
Christoph Kluge
a7d2d2666a Merge branch 'master' into 40_45_82_update_roles 2023-02-23 11:47:12 +01:00
Christoph Kluge
d6b8d711f6 Rework searchbar functions, add user jobtable 2023-02-22 16:30:01 +01:00
Christoph Kluge
87155624cf
Merge pull request #89 from fodinabor/feature/node-name-and-subcluster
Add node name and sub-cluster to JobInfo.
2023-02-22 13:02:47 +01:00
Christoph Kluge
acbef39045 Fix header, add migration for user.projects column 2023-02-21 17:33:27 +01:00
Christoph Kluge
e0e51813ad Merge branch 'master' into 40_45_82_update_roles 2023-02-21 17:17:41 +01:00
Christoph Kluge
68efe871c7 Centralize project filter for manager role
- Remove all unnecessary frontend code for managerfilters
2023-02-20 11:24:18 +01:00
Christoph Kluge
09bcf9f355 Better implementation for querying multiple users 2023-02-20 10:20:08 +01:00
Christoph Kluge
397ab08b3b Add support for multiple projects per manager
- Handled like roles in admin view
- !! NEW COLUMN CHANGED TO "projects"
2023-02-17 15:45:31 +01:00
Christoph Kluge
bf6ec1bc98 Add search for user names, add names in user table
- Regenerated GraphQL due to new required query 'multiUser'
2023-02-17 10:45:27 +01:00
Joachim Meyer
5128d5ed17 Add node name and sub-cluster to JobInfo. 2023-02-13 11:26:53 +01:00
dependabot[bot]
645bcb5243
Bump minimatch from 3.0.4 to 3.1.2 in /web/frontend
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 16:24:06 +00:00
Jan Eitzinger
180e9cb09d
Merge pull request #80 from ClusterCockpit/34-52-rework-searchbar
Merge Searchbar Rework
2023-02-09 11:38:02 +01:00
Pay Gießelmann
d16559660a
Add link to project in jobInfo 2023-02-02 12:15:38 +01:00
Christoph Kluge
a2ebebd7f6 Remove role label array from frontend
- made centralized role array uncentralized again
2023-02-01 14:49:10 +01:00
Christoph Kluge
7fb94c33cf Add API call for frontend to fetch list of valid roles from backend
- only relevant for admin config (addUser, editRole)
- admin only (double-checked)
2023-01-30 17:01:11 +01:00
Christoph Kluge
b2aed2f16b Add 'project' to user table, add 'manager' role, conditional web render
- Addresses issues #40 #45 #82
- Reworked Navigation Header for all roles
- 'Manager' role added, can be assigned a project-id in config by admins
- BREAKING! -> Added 'project' column in SQLite3 table 'user'
- Manager-Assigned project will be added to all graphql filters: Only show Jobs and Users of given project
- 'My Jobs' Tab for all Roles
- Switched from Bool "isAdmin" to integer authLevels
- Removed critical data frontend logging
- Reworked repo.query.SecurityCheck()
2023-01-27 18:36:58 +01:00
Christoph Kluge
5abd3641b2 Move bootstrap and bootstrap-icon to local instances 2023-01-19 09:37:18 +01:00
Christoph Kluge
81e17771fd Fix roofline component not rendering in jobview if missing data
- Addresses issue #70
2023-01-18 14:06:32 +01:00
Christoph Kluge
1873c6a87d
Merge branch 'master' into 34-52-rework-searchbar 2023-01-13 09:58:56 +01:00
Christoph Kluge
996e68ff30 Truncate long jobNames
- Solves issue #79
2023-01-12 12:33:21 +01:00
Christoph Kluge
bad3f9ea95 Makeover of searchbar, add "not found" results-redirects
- Tagged Search has priority
- Best guess search if no tag provided
- "Hard" errors only on searchtag-malformed or searchtag-unknown, or if best guess search fails
2023-01-12 11:26:01 +01:00
Christoph Kluge
a642e9cc7c Add working, but manually entered jobName url query 2023-01-11 16:25:02 +01:00
Christoph Kluge
c9ee8b552d Rework search to show jobId matches in table, add projectId search 2022-12-14 10:02:22 +01:00
Christoph Kluge
390bc4c223 Resize gauge card, hide scale on roofline, set colorDots to true
- Scale display switchable by new option 'showTime'
2022-10-07 15:01:14 +02:00
Christoph Kluge
64ea4d63c8 Forgit to add file to last commit 2022-10-07 13:39:31 +02:00
Christoph Kluge
87c80af5af Format status gauge values via existing svelte function
- Temporary solution to catch Kilo, Mega, Giga prefixes
- Backend conversion  requires more extensive graphql changes than expected
2022-10-07 13:35:44 +02:00
Christoph Kluge
3867ea137b Update and regenerate graphQL for new unit type 2022-10-06 18:04:47 +02:00
Christoph Kluge
526f8be01f Change histogram bar color to light bluish grey
- Hex #85abce
2022-09-30 17:19:01 +02:00
Christoph Kluge
d1c47f4359 Improve Histogram.svelte
- Add bold axis labels
- Labels defined as element props xlabel and ylabel
- Label offset dynamic to plot height (10 percent)
- Add adjustable gaps between bars
2022-09-30 17:00:15 +02:00
Jan Eitzinger
7814a184a1
Update README.md 2022-09-28 19:55:32 +02:00
Jan Eitzinger
13f0d171d7
Update README.md 2022-09-28 19:54:38 +02:00
Christoph Kluge
46baa6e534 First optical layout Iteration 2022-09-28 16:13:46 +02:00
Christoph Kluge
24f9d4f934 Add buildInfo to frontend footer 2022-09-27 09:56:17 +02:00
Jan Eitzinger
918a07735d
Merge branch 'master' into dev-job-archive-module 2022-09-26 15:12:46 +02:00
Christoph Kluge
0170e19363 Added options for "support" role on user create, role add, role edit 2022-09-12 18:05:43 +02:00
Jan Eitzinger
7e8b2eb3a5 Make production flag static 2022-09-12 13:37:16 +02:00
Jan Eitzinger
9a4d279c5a Inject cluster config in header variable 2022-09-12 13:35:42 +02:00
Jan Eitzinger
5e002def0a Cleanup and shift FilterRanges to configuration 2022-09-11 07:11:17 +02:00
Christoph Kluge
802c10588f Completely replace outdated template config rendering
- Deleted respective old files
- Renamed new components
2022-09-09 15:27:00 +02:00
Christoph Kluge
d351a043c2 Omit submit on colorscheme selection: now updates directly on select 2022-08-26 15:28:04 +02:00
Christoph Kluge
87ce3c3e8e Update card title 2022-08-26 15:21:37 +02:00
Christoph Kluge
c9954787c1 Add admin function to remove roles, rename addroles to editroles 2022-08-26 15:15:36 +02:00
Christoph Kluge
0186e886e4 Display go-set error messages, move html error text to log (commented) 2022-08-26 13:52:45 +02:00
Christoph Kluge
7bfdc83779 Initial commit on branch: Rewrite config.tmpl as svelte component(s) 2022-08-26 11:45:14 +02:00
Jan Eitzinger
84484babc1 Add license and set name 2022-07-29 06:46:07 +02:00
dependabot[bot]
2611000cb7
Bump svelte from 3.44.2 to 3.49.0 in /web/frontend
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.2 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.2...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 04:32:33 +00:00
dependabot[bot]
2997384c72
Bump terser from 5.10.0 to 5.14.2 in /web/frontend
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.10.0...v5.14.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 04:17:31 +00:00
Lou Knauer
286fde3d5a show the aggregation strategy for non-native scope plots 2022-07-14 16:25:21 +02:00
Lou Knauer
772d37b093 Fixes #14: Lazy load additional metrics 2022-07-08 12:23:24 +02:00
Lou Knauer
9198d160a1 Make polarplot metrics cluster specific 2022-07-08 11:51:58 +02:00
Lou Knauer
4f61580b2b embed frontend files into binary (issue #2) 2022-07-06 14:55:39 +02:00
Jan Eitzinger
68d1f5fc3f Import svelte web frontend 2022-06-22 11:20:57 +02:00