DEV Community

Cover image for Share your ideas that never made it to production
Jane Ori
Jane Ori

Posted on

Share your ideas that never made it to production

Got any ideas buried in your git history that never made it to production?

Give it a chance in the spotlight; Throw it in a codepen or just talk about it in the comments below!


Here's my contribution:

Prior to the launch of augmented-ui v1.0.0 in 2019, early builds of the website's introductory animation also featured this 3D CSS animation behind it. The background animation was removed for performance reasons but still exists in the commit history. 💜

Hopefully this codepen helps give life to the idea that couldn't make it to production ~

Gif Capture of pre v1 augmented-ui intro animation featuring a 3D CSS animation in the background

// Jane Ori

Top comments (51)

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo • • Edited

An idea I had privately in my head. Basically a single browser that you can choose what render engine and javascript engine to use.
For instance when opening a new tab, you could choose a Blink render engine with a V8 javascript engine and that would be Chrome.
But you could then open another tab, a combination of WebKit and Nitro and then it would be Safari.

The whole idea is that web developers can see / test everything in one browser that renders it the same as they would in the real Chrome / Edge / Safari.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vassbo profile image
Kristoffer •

Like this? responsively.app/

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo •

Almost. so this seems to render in different sizes or devices if you will.
But for theMacBook Pro 13" for instance, you can't seem to select via which render engine (browser) to open the site in.
I might be wrong, but at a quick first glance it seems to use a Chromium type of render engine.
Where my thought is to implement a choice of different render engines, rather than a choice of device size (although still very useful)

So that you can see a site, the way it would actually render on an iPhone X but in Chrome & Safari (using their native rendering)
if that makes sense ?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
vassbo profile image
Kristoffer •

Right. Makes sense. Would be very useful with a combination of both if that's possible.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
baasmurdo profile image
BaasMurdo •

Hell yea ! would be awesome !

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo •

hmmmm interesting, let me give it a go and get back to you.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
zubairanwarkhan profile image
Zubair Khan •

I thik browserstack has that thing

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo •

Yea there are a couple of place that you can pay to spin up some virtual machines / devices, they work quite well in most situations.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vulcanwm profile image
Medea •

a website which would give you songs to listen to based on your song taste and your mood

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
filix profile image
Filip Ilić •

But I have Spotify

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vulcanwm profile image
Medea •

Yes but Spotify doesn’t have albums for every mood.
But yeah I realised it was a stupid idea and gave up half way through

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
badgamerbad profile image
Vipul Dessai •

no they have no, based on the mood, like "life sucks" :-P

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
vulcanwm profile image
Medea •

but is that based on your music taste?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
badgamerbad profile image
Vipul Dessai •

yeah, they do make daily mix or discover weekly, they pretty much align with my music taste.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
vulcanwm profile image
Medea •

Oh yea

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo •

Deezer has something like this.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vulcanwm profile image
Medea •

Oh okay

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
baasmurdo profile image
BaasMurdo •

How good it actually works is an entirely other discussion lol, but in theory they have this kinda functionality.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
joelbonetr profile image
JoelBonetR 🥇 •

Youtube music and spotify also had a work on that 😁

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
vulcanwm profile image
Medea •

Yea I saw Spotify’s and it’s funny how I used Spotify Auth for the project

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
rollergui profile image
Guilherme •

I also had this mood based song player in my idea list! But yeah I never even tried to get it started.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vulcanwm profile image
Medea •

I actually started on it and made a function for that, but just had other enhancements I didn’t bother doing

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
joelbonetr profile image
JoelBonetR 🥇 • • Edited

If you make one that adds you songs step by step to raise you from a bad mood to a good one progressively it would be a top tier product 😁

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
vulcanwm profile image
Medea •

I might try some day! Thanks!

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
pyrsmk profile image
Aurélien Delogu •

Last.fm?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
vulcanwm profile image
Medea •

oh.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
taufik_nurrohman profile image
Taufik Nurrohman •

A client-side JavaScript syntax highlighter that fetches only the required language files based on class names and/or data-* attribute.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
joelbonetr profile image
JoelBonetR 🥇 •

Something like a new i18n plugin?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
taufik_nurrohman profile image
Taufik Nurrohman •

No. A source code highlighter.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
joelbonetr profile image
JoelBonetR 🥇 •

Didn't get it then. Can you explain it with detail and use-case? Thank you :)

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
taufik_nurrohman profile image
Taufik Nurrohman • • Edited

See this example that uses custom builder. Currently there is no way to load the language files dynamically. You still have to load them all at once even if you don’t need it.

I have made a plugin to overcome that, but never got into stable state. I still consider it buggy.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
joelbonetr profile image
JoelBonetR 🥇 • • Edited

You don't need to load them all.
Just use dynamic imports...

const translation = (locale) => import(`/translations/lang-${locale}.js`);
🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน 🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน

or async:

const loadTranslations = async (locale) => await import(`/translations/lang-${locale}.js`);
🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน 🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน

Another (more robust) example:

/**
 * Retrieves translations from a given locale
 * @param {string} locale
 * @returns {Object}
 */
const getTranslations = (locale) => {
  try {
    const availableLanguages = {
      en: dynamic(() => import('/translations/en.js')),
      es: dynamic(() => import('/translations/es.js')),
    };

    if (!availableLanguages.hasOwnProperty(locale)) {
      console.error(`getTranslations error. Could not load translations for ${locale}`);
      return availableLanguages['en']; // DEFAULT
    }
    return availableLanguages[locale];
  } catch (error) {
    console.error(`${error.message} in ${error.stack}`);
  }
};
🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน 🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน

Here we are declaring the available langs so it will not fail in runtime trying to load a nonexistent file for any other error, and it will return the default language in case of such error.

You can use next/dynamic if working with Next JS like me in this last example (note that there's no dynamic function declared; if you are not using Next JS, it needs to be done but you can use the first or second example to create a dynamic implementation quickly).
i.e.

const dynamic = (path) => import(`${path}`);
🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน 🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน

Here you can find a dynamic import explanation from javascript.info

Apart from those options, in most webapps is better to handle translations through the DB so you can build a dashboard and people that work as translators can do their thing on it instead. No more releases to fix a string 😄

Best regards

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
benhatsor profile image
Ben Hatsor •

A plugin like this one?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
joelbonetr profile image
JoelBonetR 🥇 •

Why do you want a plugin when it's so easy to handle with vanilla JS?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
deozza profile image
Edenn Touitou •

A PHP framework that could generate API endpoints based on YAML config files, with form validation and authorization and what not. And with a dynamic database handling all kinds of datas with only 3 or 4 tables.

And then I learnt that APIplatform exists, and does all of that already

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
kolja profile image
Kolja •

Great idea!
Can you give me a list of those PHP API platforms?

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
deozza profile image
Edenn Touitou •

Here you go

api-platform.com/

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
kolja profile image
Kolja •

Thank you, looks overwhelming to me. Maybe a to hard learning curve.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน Thread
 
deozza profile image
Edenn Touitou •

Yeah you would need solid Symfony (the framework on which APIplatform is based) knowledge first to use it. In the end, it's a great tool for prototyping and small project.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
wahyusa profile image
Wahyu SA •

Exam Companion

Try to build chrome extension to recommend an answer when doing online exam, at least I already know to modify DOM from an extension and build my flask API, but I don't really understand to build the prediction/machine learning part 🤔 and now they used something like exam browser so the extension would be disabled 🤣 and I realize there is no need "prediction/machine learning" things to do that, you can just do it by yourself right ? just choose the answer.. if you need to choose 1 from 5 choices then the prediction should be 20% correct 🧙‍♂️

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
jonrandy profile image
Jon Randy 🎖️ •

What do you mean by 'made it to production'? Not everything needs to be a product, not everything needs to be released, not everything needs to be useful or have a reason to exist... and nothing is ever 'finished'.

Most of my repos are just toys for my amusement - and these are by far the most interesting things to build.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
baasmurdo profile image
BaasMurdo •

and nothing is ever 'finished'

Tell that to the empty cookie box next to me.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
joelbonetr profile image
JoelBonetR 🥇 • • Edited

Well sometimes I get paid when finishing things so... 😂

Got your point, bet @janeori is thinking about something that you feel like "marketable" or at least "shareable" and ended up in a closed drawer for any issue, lack of time, loss of interest or whatever other reason.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
atulcodex profile image
🚩 Atul Prajapati 🇮🇳 •

I have a big list, LOL by the way great question

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
well1791 profile image
Well •

the banner picture hahaha it clearly relates the title.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
pengeszikra profile image
Peter Vivo •

Imho, this design idea is good but, but mandatory run smotth as possible, aroun 60 FPS and more. I did not look the code, but if you could mix with some exsisting UI solution like tailwind then it will be promising.

🔥 ข่าวด่วน: janeori/share your ideas that never made it to production ckl - ประเด็นร้อน
 
mrepol742 profile image
Melvin Jones Repol •

I have a complete based idea about the update on my app the latest update was Feb the update released should be daily for dev and monthly for stable but 5 months later no stable release in the moment the idea turn into rock.. So all of the new features and improvements which is already planned didnt go to production 100% delayed by months...