June 13, 2022 20:35

Special tabs for Frames and Forks


Added support for additional data specific for road bike frames and forks


Until now there was one single table for all the weight weenies bike parts. They all had the same set of attributes, like model, manufacturer, material, weight, etc. Naturally some components have their special features. For example, road bike handlebars all differ in reach, drop, flare and sweep. This data would be totally irrelevant for other components but can be crucial for picking the correct handlebar for your custom bike.

As you could guess, I decided to implement special attributes for different categories of road bike components. And I started with Frames and Forks. On the navigation bar you can now see one separate tab for Frames, and one for Forks. They list only the components that belong to respective categories. Still, selecting subcategories is possible. For example, on the Frames tab, you can select carbon frames.

Separate tabs

All the frames and forks are still accessible from the main tab. But only on their special tabs you can navigate all the data, including their special columns.

Each frame now can contain the following data:

  • Frame type
  • Brake type
  • Max rotor size (for disc brake frames)
  • Axle type
  • Clearance for 28" wheels
  • Clearance for 27.5" wheels
  • Headtube standard
  • Seatpost diameter
  • Bottom bracket standard
  • Front derailleur mount type
  • Cable routing
  • Mudguard and rack mounts

Forks' specific data would be:

  • Brake type
  • Max rotor size (for disc brake frames)
  • Axle type
  • Clearance for 28" wheels
  • Clearance for 27.5" wheels
  • Steerer tube diameter
  • Cable routing
  • Mudguard and rack mounts
  • Suspension

You can display or hide those columns and these settings will be independent for the different tabs. For example, columns set for the main tab will not affect the frames tab or the forks tab. Similarly, if you select specific columns for the forks tab, the frames tab and the tab with all the components will stay the same.

Custom forms

All this new data specific for frames and forks you can now submit with the new forms. Just as with the tabs, there are three forms, the main one, that does not include special data, the one for submitting frames, and the one for forks. All three forms can be accessed by clicking Add another button from one of the tabs.

Yes, with the additional fields the new forms look kinda big, but just as before, if you don't know all the info about the frame you want to submit, or simply don't feel like entering everything, just skip all the additional fields and only fill out the few that are required. This still is going to be a huge help. Because you know the drill,

the only thing that matters for weight weenies is the weight.