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

allow clicking table row to invoke callback #705

Merged
merged 2 commits into from
Jul 28, 2024

Conversation

choden-dev
Copy link
Member

@choden-dev choden-dev commented Jul 28, 2024

rowcallback

To make use of this you will need to pass in the row identifier, like documented in the @example

@choden-dev choden-dev linked an issue Jul 28, 2024 that may be closed by this pull request
6 tasks
Copy link

github-actions bot commented Jul 28, 2024

Visit the preview URL for this PR (updated for commit 80a6c6e):

https://uasc-ceebc--pr705-703-frontend-add-onc-rurxojqh.web.app

(expires Sun, 04 Aug 2024 05:33:20 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa

Copy link
Contributor

@eddieyw eddieyw left a comment

Choose a reason for hiding this comment

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

Approved

@choden-dev choden-dev force-pushed the 703-frontend-add-onclick-handler-for-table-row branch from e860056 to 80a6c6e Compare July 28, 2024 05:31
@choden-dev choden-dev merged commit 32ea0f8 into master Jul 28, 2024
8 checks passed
@choden-dev choden-dev deleted the 703-frontend-add-onclick-handler-for-table-row branch July 28, 2024 05:34
choden-dev added a commit that referenced this pull request Jul 28, 2024
* Update README.md (#666)

* 287 Remove payment intent check in membership payment (#672)

Removed `hasProcessingPaymentIntent` from StripeService.ts
Removed corresponding check in the endpoint.

* 650 exec img comp (#664)

* Added ExecImage component with hover and touch functionality.

- Created ExecImage component to display executive images with hover and touch effects.
- Integrated Next.js Image component for optimized image loading.
- Added props for executive title and name, displayed on hover and touch.
- Implemented CSS for hover effect and text overlay.
- Created Storybook stories for visual testing and documentation.
- Added ExecImageList component to render multiple ExecImage components using an array.

* prettier and codegen

* Refactored ExecImage component and its CSS to avoid using JavaScript for hover effects, using Tailwind CSS.

* adjusted colour css

* adjusted colour css

* 651 Document all backend endpoints (#673)

* Add jsdoc to UserController

* Tsoa generation and jsdoc for StripeWebhook endpoint

* Add jsdoc for SignupController

* Jsdoc for PaymentController and add fullstops

* Add jsdoc for BookingController

* 651 Add jsdoc for AdminController  (#674)

* 651 Add jsdoc for AdminController

* enforce dietary requirements on booking creation (#676)

* 671-readme-for-server (#675)

I hope I didn't misunderstand this ticket...

Created a README.md file with the Backend-Architecture part of the wiki.

* 669 Delete docs folder (#679)

Removed

* 670 Create readme including frontend wiki page (#678)

There was already a README.md file so instead, I just added another heading with a link redirecting to the wiki.

* 566 Delete preview channel upon merge (#680)

* 566 Delete preview channel upon merge

Have added the feature to the pre-existing workflow action as per [this pull request on action-hosting-deploy](FirebaseExtended/action-hosting-deploy#65)

* Add new workflow and revert changes

Added a new delete firebase channel upon PR close action.

Reverted the not implemented changes from the firebase deployment on PR.

* 566 delete preview channel on merge (#682)

* 566 Delete preview channel upon merge

Have added the feature to the pre-existing workflow action as per [this pull request on action-hosting-deploy](FirebaseExtended/action-hosting-deploy#65)

* Add new workflow and revert changes

Added a new delete firebase channel upon PR close action.

Reverted the not implemented changes from the firebase deployment on PR.

* Changed the preview channel to delete

Instead of just using the `github.head_ref` as the preview channel id, will need to make some changes as the preview channel created uses a different preview id.

* Substring shell workaround for PR title

* 566 delete preview channel on merge (#683)

* 566 Delete preview channel upon merge

Have added the feature to the pre-existing workflow action as per [this pull request on action-hosting-deploy](FirebaseExtended/action-hosting-deploy#65)

* Add new workflow and revert changes

Added a new delete firebase channel upon PR close action.

Reverted the not implemented changes from the firebase deployment on PR.

* Changed the preview channel to delete

Instead of just using the `github.head_ref` as the preview channel id, will need to make some changes as the preview channel created uses a different preview id.

* Substring shell workaround for PR title

* Remove extra " at the end

* use the wrapped of the booking creation popup (#686)

* update the email template and add pug for templating (#689)

* copy templates to build outputs (#691)

* copy templates to build outputs

* make email template only compile once

* revert unneeded change

* Create interface in firebase.ts (#692)

* Create interface in firebase.ts

* Add other important data fields to the EventSlot interface

Added start/end dates, location, image url.

Fixed a typo

* Update comments

* add docs (#690)

* Google map widget on contact page (#693)

* implementation

* fixed address

* 694 frontend fix overflox issue on contact page (#696)

* div used

* fixed overflow

* max w fixed

* fix table on admin availability view (#698)

* Update README.md (#700)

* change transforms on svgs (#701)

* removed unneeded line (#547)

* removed unneeded line

* removed next button

* allow clicking table row to invoke callback (#705)

* allow clicking table row to invoke callback

* add example

* fix booking creation if user already has a booking (#707)

* fix booking creation

* fix test

* add indicators for statuses on admin booking creation (#712)

* add indicators for statuses

* fix search query

* add trim

* 610 frontend sort the membership prices before returning thme (#708)

* Added Sorting for the membership prices

* Updated sorting method and added test for sorting method

* Fixed nit

* remove hard redirect on admin pages (#710)

---------

Co-authored-by: eddieyw <[email protected]>
Co-authored-by: Jeffery <[email protected]>
Co-authored-by: AzizP786 <[email protected]>
Co-authored-by: zlrkw11 <[email protected]>
Co-authored-by: Albert Sun <[email protected]>
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.

[FRONTEND] Add onclick handler for table row
2 participants