-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Enhancement - ability to directly link (permalink) to a specific script #49
Comments
Sounds really good. I'm considering a bigger change that'll indirectly allow this. We could have I'm also thinking about adding a single ℹ (removing existing ones) on each script that'll on click redirect to the specific script page and on hover it'll show the documentation text/urls that we have today. I'll prioritize this after the macOS (multi-os) support. However if someone else wants to take a look and needs assistance just ping me. |
Hey, I saw more talk on this issue #59 that seemed somewhat related to this. Is this going to be moving forward? I noticed that it was removed from milestone. |
Hi @dougg0k, I'm setting this as the next major feature on our roadmap. You can contribute by providing feedback or through donations, it would be greatly appreciated. Progress so far:
What's next:
|
Hey, Nice, looks good. I mean, simplifying where exactly in the process, is there anything that is not clear or simple enough? Subdomain would be your choice, whatever make sense in what you are trying to achieve would probably be the most obvious choice. I'm not sure there is a right way to implement the permalinks, is whatever make sense in the context that you have and how important would be to be more clearly exposed as an option or not. You have more experience with your website than I, you should know the answer to the last question. |
I'm very glad to see this feature getting some love. I'll happily donate to show my appreciation for this and the continued development of the project. Thank you! Regarding the IDs, GUIDs are the right approach. I started to think about how different revisions of the same script could be handled. I thought perhaps a timestamp could be appended to the IDs, then I figured that should simply be left to the tools already available - git. However given the monolithic nature of the collection files, change control for script revisions seems to be cumbersome and scaling is bound to be an issue. A different project structure could help with this. Here are some thoughts on what a different structure could be:
This work could tie into the new 'app', albeit I'm not fully clear on that app's scope. Ultimately however, the focus should be on this much-needed request and its related features. It would be unfortunate for this request to take another two years! As for name suggestions, another is |
This commit centralizes the styling of key UI elements across the project to ensure: - Consistent look and feel. - Enhanced code reusability. - Simpified maintenance, improving development speed. It establishes a uniform foundation that can be leveraged across different parts of the project, even enabling the styling to be shared across different websites (supporting issue #49). Key changes: - Apply the following shared styles globally: * Styling of code, blockquotes, superscripts, horizontal rules and anchors. * Vertical and horizontal spacing. - Segregate base styling into dedicated SCSS files for clearer structure and increased maintainability. - Remove custom styling from affected components, enabling global style reuse for visual uniformity, reduced redundancy, and enhanced semantics. Other supporting changes: - Rename `globals.scss` to `base.scss` for better clarity. - Add `.editorconfig` for `.scss` files to ensure consistent whitespace usage. - Remove `2` file from the project root, that was included in the source code by mistake. - Remove unused font-face imports
Just to update, this is highly prioritized feature from my side. I'm doing small stuff in the background to enable it. I implemented the ID support (#262) and it's on testing phase. @Marc05, I have been thinking about what you say for a while, and I agree that this will be much better design. I'll move towards to there, everything is so tightly integrated now. I'll decouple the compiler and front-end completely which will simplify things a lot. Compiler will be a CLI tool that will output a JSON (resolving #126 along the way). This JSON will contain everything, docs for the scripts, compiled codes etc. And the current front-end will consume the compilers output. When the compiler is decoupled through CLI interface and stable contract, I can then break down the monolith into the modular and scalable format you suggest without breaking anything. This would allow me to add features that I planned for a while very easily, and enable community to build privacy.sexy derivatives easily. @plantindesk brought up building the docs pagse using Astro. I looked at it and it seems to be very solid alternative to Hugo. @plantindesk would following flow work?
I will start working with decoupling the compiler and designing an API for the JSON file once the ID support is well-tested. |
Ok As you say |
Hello, great project thanks for doing this.
Enhancement idea - Being able to link directly to a specific script would be a very useful way of sharing scripts with other people. We could just link them to something like
https://privacy.sexy/x/y/z
and they can always see the latest script there.The text was updated successfully, but these errors were encountered: