
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
A Rails engine web-UI to quickly toggle feature flags in GDK.
This gem was written specifically for the GitLab codebase. It won't work in any other Rails app.
The UI is availabe at http://gdk.test:3000/rails/features.
Everyone can contribute.
This is the default rake task. Just run rake
with no arguments.
The system specs in spec/system
are configured to use Firefox as headless browser.
Tip: If you don't have Firefox installed on your machine, or if you are on Ubuntu and have Firefox installed only via Snap, you can switch to Chrome by changing the driven_by
to :selenium_chrome_headless
in spec/rails_helper.rb
.
One design goal of this little Rails engine was to keep it free of any dependencies, that GitLab uses today.
Because, tomorrow we might decide to ditch one or the other tech we use today, and Toogle shouldn't break just because GitLab removes sassc
, as an example (that actually happened during development).
That's why Toogle only depends on the bare basics: rails
, sprockets
and haml
.
Toogle uses Alpine.js from a <script>
tag so it does not use or depend on our Vue.js usage or any bundler. Alpine is very similar to Vue, so it's really easy to pick up. Give it a try!
Toogle uses native unprocessed CSS to not depend on any specific preprocessor. Modern CSS is awesome, and all modern browsers support things like nested selectors today.
For theming and dark mode, it uses CSS variables and HSL colors, which makes it super easy to switch from light to dark by just changing the variable that makes up the Lightness. Check it out!
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that gdk-toogle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.