This repository was archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
[ORCT-144] Update periods API #168
Merged
Merged
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
8216274
New api periods
Ehevi 073fef1
Apply eslint rules :sparkles:
Ehevi f2b237b
Use message panels
Ehevi c3df896
Messages
Ehevi 2a9f8eb
Add dataAccess
Ehevi 00965ae
Move userPreferences up in model hierarchy
Ehevi f917829
Eslint :sparkles:
Ehevi 116ce04
Cleanup :broom:
Ehevi 7beba23
Cleanup :broom:
Ehevi cce4554
Display periods from the new API
Ehevi b3c38e5
Run energies
Ehevi b2ca901
Periods css update
Ehevi 31cd33b
Update user preferences access
Ehevi ebcb8a4
Enable data selection
Ehevi 544140f
Add column filtering options
Ehevi a571ef6
Add pagination
Ehevi 81cd499
Add year field
Ehevi 01b4528
Improve display of the distinct energies
Ehevi 091377a
Rename pager to obsolete pager
Ehevi 5e0fc39
Remove the old period field name config
Ehevi dc18122
Mark previous items couter as obsolete
Ehevi b3060f9
Use the new items counter in the periods view
Ehevi c879e25
Docs cleanup :broom:
Ehevi 5b565e3
Rename column display options
Ehevi 4b90f21
Rename css class
Ehevi 9ee617a
Rename column display options select
Ehevi 7f66310
Cleanup :broom:
Ehevi e27b345
Use the tableManager row
Ehevi ae26171
Fix setting rows on page
Ehevi 4311b94
Cleanup :broom:
Ehevi 46e3168
Fix pagination
Ehevi 628e3f0
Cleanup :broom:
Ehevi 7beb922
ItemsCounter cleanup :broom:
Ehevi ad51576
SetRowsOnSite cleanup :broom:
Ehevi ab7af4e
Cleanup :broom:
Ehevi 5cf1469
Cleanup :broom:
Ehevi 21acc3d
Remove unused delay function
Ehevi 96b1cef
Rename header columns
Ehevi 7745401
Cleanup :broom:
Ehevi 574d884
Cleanup :broom:
Ehevi 6060f57
Quickfix
Ehevi 6b67ef7
[ORCT-157] Mark obsolete data requests as @deprecated (#176)
Ehevi e936501
Add items counter test
Ehevi efea3d5
Rename files
Ehevi e3c3103
Prepare periods export modal
Ehevi b3b12ab
Enable user to select csv or json export
Ehevi bf04c25
Cleanup :broom:
Ehevi 5b47e18
Mark obsolete csv download as deprecated
Ehevi f8becf7
Pass userPreferences directly to modals
Ehevi 4ab63c8
Cleanup :broom:
Ehevi 384dc79
Cleanup :broom:
Ehevi 606f3c7
Remove dependencies
Ehevi d54b1db
Fix preparedData in obsoleteCsvExport
Ehevi 1e4b1c9
Cleanup :broom:
Ehevi 0fbf57a
Use the model name as downloaded filename for exports
Ehevi acda977
Add capitalization tests
Ehevi d2d7cd8
Add readable file size test
Ehevi 9104a20
Cleanup :broom:
Ehevi fdf8618
Cleanup :broom:
Ehevi 7ea3ace
Tests cleanup :broom:
Ehevi 66529b0
Enum content types
Ehevi ca85ace
Add CSV data preparation test
Ehevi 809176a
Remove console logs
Ehevi 4fdc9b5
Fix dataExport modal rendering condition
Ehevi 8c4d9d7
Address review comments
Ehevi e3e30a7
Address review comments
Ehevi f4aa38e
Remove capitalizeFirstLetter function
Ehevi 6950d88
Newlines
Ehevi 489c1d6
Pagename tests
Ehevi ac25f2f
Cleanup :broom:
Ehevi 85bb90a
Sort cleanup
Ehevi c2e7267
Address review comments
Ehevi ad73985
Address review comments
Ehevi 4277845
Move pageTitle to separate component
Ehevi 4a06657
Chai export cleanup :broom:
Ehevi d25936a
Tests cleanup :broom:
Ehevi 9c58165
Tests cleanup :broom:
Ehevi 9cee950
Cleanup :broom:
Ehevi d078ce2
Address review comments
Ehevi a83b26e
Address review comments
Ehevi da57811
Address review comments
Ehevi 3f8bd44
Address review comments
Ehevi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /** | ||
| * @license | ||
| * Copyright 2019-2020 CERN and copyright holders of ALICE O2. | ||
| * See http://alice-o2.web.cern.ch/copyright for details of the copyright holders. | ||
| * All rights not expressly granted are reserved. | ||
| * | ||
| * This software is distributed under the terms of the GNU General Public | ||
| * License v3 (GPL Version 3), copied verbatim in the file "COPYING". | ||
| * | ||
| * In applying this license CERN does not waive the privileges and immunities | ||
| * granted to it by virtue of its status as an Intergovernmental Organization | ||
| * or submit itself to any jurisdiction. | ||
| */ | ||
|
|
||
| export const pageTitle = (page, pageNames) => { | ||
| switch (page) { | ||
| case pageNames.periods: return 'Periods'; | ||
| case pageNames.runsPerPeriod: return 'Runs per period'; | ||
| case pageNames.runsPerDataPass: return 'Runs per data pass'; | ||
| case pageNames.dataPasses: return 'Data passes per period'; | ||
| case pageNames.mc: return 'Monte Carlo'; | ||
| case pageNames.flags: return 'Quality flags'; | ||
| case pageNames.anchoragePerDatapass: return 'Anchorage per data pass'; | ||
| case pageNames.anchoredPerMC: return 'Anchored per MC'; | ||
| default: return page; | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.