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

fix: allow attendee checkin for several days #7391

Closed
wants to merge 9 commits into from
Closed

fix: allow attendee checkin for several days #7391

wants to merge 9 commits into from

Conversation

maze-runnar
Copy link
Contributor

@maze-runnar maze-runnar commented Jun 4, 2021

Fixes #2016

require fossasia/open-event-server#8021

Checklist

  • I have read the Contribution & Best practices Guide.
  • My branch is up-to-date with the Upstream development branch.
  • The acceptance, integration, unit tests and linter pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@auto-label auto-label bot added the fix label Jun 4, 2021
@vercel
Copy link

vercel bot commented Jun 4, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/6f1pep9cmq9To1FGQotpAas6LnW2
✅ Preview: https://open-event-frontend-git-fork-maze-runnar-date-filter-eventyay.vercel.app

@codecov
Copy link

codecov bot commented Jun 4, 2021

Codecov Report

Merging #7391 (54c05e1) into development (929e9a2) will decrease coverage by 0.05%.
The diff coverage is 11.11%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #7391      +/-   ##
===============================================
- Coverage        20.78%   20.73%   -0.06%     
===============================================
  Files              581      582       +1     
  Lines             6615     6623       +8     
  Branches           149      149              
===============================================
- Hits              1375     1373       -2     
- Misses            5213     5223      +10     
  Partials            27       27              
Impacted Files Coverage Δ
.../controllers/events/view/tickets/attendees/list.js 0.00% <0.00%> (ø)
.../cell/events/view/tickets/attendees/cell-action.js 12.50% <12.50%> (ø)
app/components/tabbed-navigation.js 33.33% <0.00%> (-20.00%) ⬇️

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 929e9a2...54c05e1. Read the comment docs.

@mariobehling
Copy link
Member

Please add screenshots to all PRs.

@maze-runnar
Copy link
Contributor Author

maze-runnar commented Jun 7, 2021

Please add screenshots to all PRs.

there is nothing to add as a screenshot in this PR, it can be tested only.

MeghalBisht
MeghalBisht previously approved these changes Jun 8, 2021
@MeghalBisht MeghalBisht removed their assignment Jun 9, 2021
ranjitkshah
ranjitkshah previously approved these changes Jun 9, 2021
Copy link
Contributor

@sachinchauhan2889 sachinchauhan2889 left a comment

Choose a reason for hiding this comment

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

.

@@ -74,7 +74,7 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
const attendee = this.store.peekRecord('attendee', attendee_id, { backgroundReload: false });
attendee.toggleProperty('isCheckedIn');
if (attendee.isCheckedIn) {
const newCheckinTimes = attendee.get('checkinTimes') === null ? `${moment().toISOString()}` : `${attendee.get('checkinTimes')},${moment().toISOString()}`;
const newCheckinTimes = attendee.get('checkinTimes') === null ? `${moment().toISOString()}` : `${moment().toISOString()}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

20

Server is already merging times. Thats why i add this

ranjitkshah
ranjitkshah previously approved these changes Jun 9, 2021
@MeghalBisht MeghalBisht changed the base branch from testing to development June 9, 2021 15:59
@MeghalBisht MeghalBisht dismissed stale reviews from ranjitkshah and sachinchauhan2889 June 9, 2021 15:59

The base branch was changed.

@mariobehling
Copy link
Member

Please add screenshots.

@MeghalBisht MeghalBisht removed their assignment Jun 9, 2021
@maze-runnar
Copy link
Contributor Author

Please add screenshots.

Screencast.2021-06-10.08.44.34.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide attendee checkin for each conference day on events with several days
5 participants