Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Type number of available elephpants #176

Open
carnage opened this issue Apr 16, 2018 · 4 comments
Open

Type number of available elephpants #176

carnage opened this issue Apr 16, 2018 · 4 comments

Comments

@carnage
Copy link
Contributor

carnage commented Apr 16, 2018

When you have ~400 spares, it's a little bit of a drag to have to click the + button 400 times and typing the number didn't seem to work

@ramondelafuente
Copy link
Member

Ha! This one was heavily debated :)
Because of the fact that each individual ElePHPant has an identity in the system, adding them in bulk was left out of "MVP".

It sounds like there is a new concept required, an account specifically for "traders/manufacturers" who have so many ElePHPants available but don't really care for managing a "herd". Would you care to tell us more about why you have 400 spares and what you would like to achieve (and what you wish the system would do for you in that regard? Like maybe a notice when a new user adds that type of ElePHPant to the "wanted" list for example...)

@carnage
Copy link
Contributor Author

carnage commented Apr 16, 2018

We produced a PHP Yorkshire branded elePHPant for the conference, only 100 arrived in time for the event, so I now have 400 sitting around waiting for next year.

A lot of people have been asking how to get one, so it would be an interesting idea to be able to add the elePHPant as a "conference" elePHPant with a note saying that it's available at PHP Yorkshire events (or in limited quantities at other events at which I'm speaking/attending), which could then be displayed to someone who "wants" one.

@cookieguru
Copy link
Contributor

Drop this in the browser console and adjust the number accordingly

let control = jQuery('#herd_tending .elephpant-title:contains("Name of ElePHPant")').next().find('.fa-plus-square-o');
for(let i = 0; i < 400; i++) {
	control.click();
}

@ramondelafuente
Copy link
Member

I think what we where attempting here was discovering a new use-case for Elewant, but I appreciate the evil genius :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants