Setting the title and expanding step codes in the UI

Paul Hammant edited this page May 29, 2017 · 12 revisions

A key security concept here is that the bits or the URL to the right of the # are not sent to the web server from the browser, when the page is loaded via HTTP's GET. Read about that here if you like.

The server side doesn't know the "name" of your radiator

That's handled in the browser exclusively. Compare https://buildradiator.org/r#ueeusvcipmtsb755uq/Goldman_Sachs_Top_Secret_Quantum_Sniping_Automatic_Trader to https://buildradiator.org/r#ueeusvcipmtsb755uq/These_Are_Not_The_Droids_You_Are_Looking_For.

Setting the radiator title

The title of a radiator on buildradiator.org server can be set in the URL of the page.

This is achieved in the URL of the build radiator. The title of the radiator is to the right of the radiator code, separated by a / char:

The server side doesn't (necessarily) know the "step names" of your radiator

Again that is handled in the browser exclusively. Compare https://buildradiator.org/r#ueeusvcipmtsb755uq/Goldman_Sachs_Top_Secret_Quantum_Sniping_Automatic_Trader to https://buildradiator.org/r#ueeusvcipmtsb755uq/These_Are_Not_The_Droids_You_Are_Looking_For.

Expanding step codes

Step names on the buildradiator.org server can be short if you prefer to obfuscate them to some degree. For example, you could have '1' for 'Compile' and '2' for 'Unit Tests'.

As you post step updates from your CI infrastructure, you would specify '1', but in the buildradiator.org UI you could decode that to 'Compile'. All of this is achieved in the URL of the build radiator. Specifically, the bits to the right of the '#' which is not sent to the web server when the page is loaded via HTTP's GET.

e.g. http://buildradiator.org/r#sadfasdfasdfasdf/Page_Title/1/Compile/2/Unit_Tests/3/Zip (don't click that)

The steps: 1 is Compile, 2 is Unit Test, and 3 is Zip. 1, 2 and 3 could have been C, U and Z, if you had created the radiator that way. It is up to you how obscure you want to make it.

There is also room for fun here:

https://buildradiator.org/r#ueeusvcipmtsb755uq/Breakfasts_I_Have_Consumed_One_Ingredient_At_A_Time/c/Sausage/u/Fried_Eggs/i/Toast/f/Beans/p/Ketchup

Note too that in the UI, underscore _ gets changed to a space.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.