Skip to content

feat: make it possible to link to a tab #255

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

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Conversation

sorawee
Copy link
Contributor

@sorawee sorawee commented Jul 23, 2023

This commit makes it possible to link to a tab. For example,
https://www.racket-lang.org/#ide-support would link to the "IDE support" tab.
Each tab change will modify the URL so that viewers can copy the link.

Furthermore, remove the symlinks community.html and irc-chat.html,
and make them redirect to the #community tab.

The commit depends on #254.

Fixes #209

This commit makes it possible to link to a tab. For example,
https://www.racket-lang.oth/#ide-support would link to the "IDE support" tab.
Each tab change will modify the URL so that viewers can copy the link.

Furthermore, remove the symlinks community.html and irc-chat.html,
and make them redirect to the `#community` tab.

Fixes racket#209
@sorawee sorawee marked this pull request as ready for review August 7, 2023 23:11
@sorawee
Copy link
Contributor Author

sorawee commented Aug 7, 2023

This is now ready for review. The staging site is at https://sorawee.github.io/tmp/.

@spdegabrielle
Copy link
Member

tested https://sorawee.github.io/tmp/#community
on macOS safari PASSED
image

@spdegabrielle
Copy link
Member

Tested on mobile safari iOS PASSED
image

@spdegabrielle
Copy link
Member

Tested iOS Firefox passed

@spdegabrielle
Copy link
Member

tested google chrome win 10 PASSED
rested MS edge win10 PASSED
tested Firefox macOS PASSED

@spdegabrielle
Copy link
Member

todo - I am unable to test these

  • Firefox on Windows
  • firefox on android
  • google chrome on android

@benknoble
Copy link

I tested this successfully on iOS Safari a while back.

@spdegabrielle
Copy link
Member

spdegabrielle commented Aug 23, 2023

  • tested google chrome win 10 PASSED
  • rested MS edge win10 PASSED
  • tested Firefox macOS PASSED
  • macOS safari PASSED
  • macOS chrome
  • Firefox on Windows
  • firefox on android
  • google chrome on android
  • iOS Firefox passed
  • iOS Safari

@1e1001
Copy link

1e1001 commented Aug 28, 2023

firefox on windows 10 and android work

@sorawee
Copy link
Contributor Author

sorawee commented Aug 28, 2023

@rfindler @mfelleisen: is it OK to merge this? Many people have tested and it seems there's no problem.

@rfindler
Copy link
Member

rfindler commented Aug 28, 2023 via email

@sorawee sorawee merged commit c6b90e3 into racket:master Aug 28, 2023
@sorawee sorawee deleted the tab-anchor branch August 28, 2023 19:48
@sorawee
Copy link
Contributor Author

sorawee commented Aug 28, 2023

Thanks everyone for testing and feedback! I assume that there will soon be a change related to RacketCon, and my change will be deployed along with the RacketCon change.

@sorawee sorawee mentioned this pull request Oct 4, 2023
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.

Anchors for tabs
5 participants