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

Timelist views support fixed time - 5629 #5726

Merged
merged 23 commits into from
Sep 15, 2022
Merged

Conversation

michaelrogers
Copy link
Contributor

@michaelrogers michaelrogers commented Sep 1, 2022

Closes #5629

Describe your changes:

All events are shown in a timelist view whenever a non-realtime mode is selected. Changes cherry picked from the previous PR that targeted the release branch.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Command line build passes?
  • Has this been smoke tested?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Changes appear not to be breaking changes?
  • Appropriate unit tests included?
  • Code style and in-line documentation are appropriate?
  • Commit messages meet standards?
  • Has associated issue been labelled unverified? (only applicable if this PR closes the issue)
  • Has associated issue been labelled bug? (only applicable if this PR is for a bug fix)

@codecov
Copy link

codecov bot commented Sep 1, 2022

Codecov Report

❗ No coverage uploaded for pull request base (release/2.1.0@be4450d). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##             release/2.1.0    #5726   +/-   ##
================================================
  Coverage                 ?   53.76%           
================================================
  Files                    ?      597           
  Lines                    ?    22481           
  Branches                 ?     2070           
================================================
  Hits                     ?    12086           
  Misses                   ?     9818           
  Partials                 ?      577           
Flag Coverage Δ *Carryforward flag
e2e-ci 39.49% <0.00%> (?) Carriedforward from ca22abb
e2e-full 51.22% <0.00%> (?) Carriedforward from ca22abb
e2e-stable 48.68% <0.00%> (?)
unit 50.34% <0.00%> (?)

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be4450d...ab39da8. Read the comment docs.

@michaelrogers michaelrogers changed the title Initialize full view for fixed time Timelist views support fixed time - 5629 Sep 9, 2022
@michaelrogers michaelrogers marked this pull request as ready for review September 9, 2022 21:50
@michaelrogers michaelrogers enabled auto-merge (squash) September 9, 2022 21:53
Copy link
Contributor

@shefalijoshi shefalijoshi left a comment

Choose a reason for hiding this comment

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

Nice work! Some changes here.

src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
@michaelrogers michaelrogers changed the base branch from master to release/2.1.0 September 13, 2022 14:52
Copy link
Contributor

@shefalijoshi shefalijoshi left a comment

Choose a reason for hiding this comment

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

One small change, but looks good.

src/plugins/timelist/Timelist.vue Outdated Show resolved Hide resolved
@michaelrogers michaelrogers merged commit b85f0db into release/2.1.0 Sep 15, 2022
@shefalijoshi shefalijoshi deleted the mct5629-v2 branch September 15, 2022 18:15
ozyx pushed a commit that referenced this pull request Sep 19, 2022
* Update version

* [Flexible Layout] Fix draggable status for layout items while in browse mode (#5750)

* Modify flexible layout pages to make them not draggable in browse mode and add e2e test

* Don't destroy mutable if the domain object is not ready yet (#5695)

* Check if the domain object is set (mounted is done) before trying to destroy the mutable

* Use optional chaining. Add mutable promise check to prevent memory leaks

* Request priority (#5737)

* Set priority of couch requests to high
* Set priority of image requests to low
* Add e2e test for low-priority images

* Timelist views support fixed time - 5629 (#5726)

* Initialize full view for fixed time

* Clean up

* Add back in ticker after merge

* Check for undefined clock instead of timestamp

* Cleanup

* Initialize full view for fixed time

* Clean up

* Add back in ticker after merge

* Check for undefined clock instead of timestamp

* Cleanup

* Update timestamp method and remove from beforeDestroy

* Shorten ternary to optional chaining

* Cleanup unused var

* Moved duplicated logic to method

* Reorder methods

* Update Timelist.vue

Set timestamp to clock start when in fixed time

* Added blank line

* Lint fix

* Update pluginSpec.js

* Invoke currentValue method properly

Co-authored-by: Khalid Adil <khalidadil29@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Michael Rogers <contact@mhrogers.com>
@unlikelyzero unlikelyzero added this to the Target:2.1.1 milestone Sep 30, 2022
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.

None yet

3 participants