stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Enable opening a new tab by right clicking on the sphinx website header #1407

Closed ecurrencyhodler closed 9 months ago

ecurrencyhodler commented 9 months ago

Context

Currently, we are unable to right click to the buttons in the header in a new tab across the whole website. But we can for right clicking on a bounty on the home page.

https://github.com/stakwork/sphinx-tribes/assets/32662508/f7c0d2cf-4abe-4d60-a185-4867c95a1c0e

Enable opening a new tab by right clicking like you see in the back half of the video.

Here's the PR that enabled right clicking on the home page that you can use for reference: https://github.com/stakwork/sphinx-tribes/pull/991

Acceptance Criteria

Here is an example component test

Ekep-Obasi commented 9 months ago

@ecurrencyhodler Please could you assign this to me? All my issues have PRs submitted and are awaiting review

ecurrencyhodler commented 9 months ago

You can take this one as it's similar to the one you submitted before.

Ekep-Obasi commented 9 months ago

Thank you @ecurrencyhodler

Ekep-Obasi commented 9 months ago

@ecurrencyhodler, to write tests for the context menu when you right-click will need cypress since that action is a browser interaction

ecurrencyhodler commented 9 months ago

Okay we can skip that for this pr.