Git Product home page Git Product logo

turbo-site's People

Contributors

1klap avatar adamstddrd avatar afcapel avatar audionerd avatar benkoshy avatar borama avatar dependabot[bot] avatar dhh avatar dunglas avatar fxn avatar ghiculescu avatar hey-leon avatar javan avatar jorgemanrubia avatar kevinmcconnell avatar kirillplatonov avatar koheisg avatar kzkn avatar marcoroth avatar omarluq avatar richardkmiller avatar seanmitchell avatar seanpdoyle avatar srt32 avatar sstephenson avatar stgm avatar swanson avatar t27duck avatar tortuetorche avatar wintereise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

turbo-site's Issues

How to force Turbo to only get data from his cache and not reloading from Server?

Dear All,
I have an application where chat page when generated will stay the same unless somebody type some new message.

I want turbo to not fetch that page from server (after I clicked on a link) if the page was already loaded in the Browser cache.
To reload the chat Page from server, I want to provide a special "Reload" button.
This feature will reduce traffic with my server for many use cases.

Is this possible with Turbo?
Thank you
Best regards
Emeric

Document the expected HTTP status codes

Turbo expects the server to respond with a 303 status code on successful form submission, but it's not mentioned anywhere in the Turbo Reference or Handbook (https://turbo.hotwired.dev/reference/drive). Same goes for the 422 status code when you want to render a form error state.

I've invited some people to use Turbo and the status code nuances really negatively impacted their learning curve (they did not use Turbo in conjunction with Rails)

The Turbo Logo

This may seem very nitpicky, but isn't the fan inside the turbo logo the wrong way around, i.e. it should be mirrored.

https://github.com/hotwired/turbo-site/blob/main/images/logo.svg
turbo-logo

The fan orientation would not be ideal as gas flows from the opening to the exit.
Either the fan should be mirrored vertically or horizontally, or the chamber with opening and exit should be mirrored vertically or horizontally.

Example
example

Turbo build error

/*

console.warn("[Package Error] "@hotwired/[email protected]" could not be built. ");
throw new Error("[Package Error] "@hotwired/[email protected]" could not be built. ");
export default null;

Could we translate your documents EN -> JA?

We would like to translate your Turbo handbook (EN->JA) for introducing Hotwire to Japanese rails community.
We are Everyleaf Coporation in Japan.
Our company has 15 years history, and from the first of it we are experts of Ruby and Ruby on Rails.
There are two ways to do that. Translating them in new repository under our company's GH organization' or in this repository.
Which is better for you?
We think our repository is better because currently your repository looks not ready for i18n.
Of course we will specify the origin on our page, and report to you when we publish it each time.

Thank you.

Missing distributable script? (from installation docs)

You can download the latest distributable script from the GitHub releases page, then reference that in your <script> tag on your page. — https://turbo.hotwire.dev/handbook/installing (§ In Compiled Form)

I think that script is missing from the build in the released archive from the source code download at https://github.com/hotwired/turbo/releases/tag/v7.0.0-beta.1

It would be handy and more accessible to make it available without installing all the tooling (or to change the doc accordingly).

Or maybe at least provide a link to https://unpkg.com/browse/@hotwired/[email protected]/dist/ if that is the “official” way.

(See previous issue on the turbo repo and answer from @sstephenson)

Missing Documentation for Turbo.setFormMode

While looking for a way to disable turbo for form submissions (due to compatibility issues while trying to add turbo to a mature rails site), I ran across this: https://stackoverflow.com/questions/70921317/how-can-i-disable-hotwire-turbo-the-turbolinks-replacement-for-all-forms-in

which links to this merged-in feature: hotwired/turbo#419

But Turbo.setFormMode appears to be undocumented on the turbo documentation site, making it's discoverability difficult, and making it unclear whether that's an intended feature or a hidden implementation detail that may change in the future.

Can we get this documented?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.