bluehuskystudios / rent-split Goto Github PK
View Code? Open in Web Editor NEWCalculates what your portion of the rent should be.
Home Page: https://Split.Rent
License: MIT License
Calculates what your portion of the rent should be.
Home Page: https://Split.Rent
License: MIT License
If a roommate cannot afford rent, this should be blatant
For filling this out with the keyboard alone, it's necessary to allow buttons to be pressed with the space bar andor enter key
That doesn't belong in this repo. It should go onto a CDN like our Shared.BHStudios.org
GoDaddy fucked us over, and our stylesheets were hosted on their servers, so basically no styles are loading. Time to re-create them with Neon!
Some homes share their income among their residents. For them, it makes more sense to input one income and still split it amongst the roommates based on who uses which expenses
There should be a lil popup at the bottom when an item is deleted, with an option to undo. It should be there for a few seconds so the user has a chance to click it. It should not auto-dismiss when the user is showing their attention (e.g. hovering, clicking, tapping, swiping, etc.). When multiple items are deleted, they should stack.
Users of thin & tall screens should be able to use this no problem
I have some ideas
I would like to see the feature to select what portion should be paid regardless of income.
IE. A bill for the water my roommate uses 2/3 and I use 1/3. We would create our requirements based on our usage.
Whichever one is the latest stable version on their CDN page
For my monthly split (4 people and 24 expenses), the share URL is 3,554 characters long.
The current approach is:
generalState
query parameterI propose that we instead do this:
b
query parameter (b
for BSON, and b
for second iteration)We should always accept the old approach, so that old URLs always work. However, we should default to this approach instead
Is there an option yet to disable the autosave once you have selected to save or an option to start fresh as if opening the rent splitter for the first time? A toggle for saving would be appreciated.
whoops
Copyright footer currently says 2018, should say 2019
The values of Patreon no longer overlap with those of Blue Husky Studios. Any reference to Patreon should be removed and replaced with an alternative service.
Unfortunately, after #29 was implemented with #40, https://goo.gl was announced deprecated, to be discontinued March 30, 2019.
In light of this knowledge, we should move to an alternative, such as https://bit.ly or https://tinyurl.com
While we're at it, we should allow the user to opt into this feature, and perhaps give them a choice of shorteners
When sharing a URL with a state already in it, the sharing preview image should reflect that.
This will be difficult because our HTML is static, and interpreters won't be running our JS. We'd have to serve the HTML dynamically. This fact makes this issue low-priority.
This needs to have all its utilities separated out into BHSP (or similar) files
Roommates and Expenses are so similar, they could be shallow subclasses of a standardized parent class.
Constants at top can be placed into a class-based hierarchy. For instance:
data class DataAttributeSelector(dataName: String)
val somethingSelector = DataAttributeSelector(dataName = "something")
// This "something" when requesting or writing data from an element by using JS APIs,
// "data-something" when looking for or inserting an attribute in an element,
// "[data-something]" when selecting all elements that have the "something" data attribute,
// and a function taking "foo" for "[data-something='foo']" for selecting just those elements who have the "something" data attribute set to "foo"
I wanna see:
Doesn't have to be one, just less than the total. So like:
Or this:
It reads:
If you don't want me to do this, that's fine! I'll only do it if you click the Turn on auto-save! 🍪 button and I won't save anything.
And it should read:
If you don't want me to do this, that's fine! I'll only do it if you click the Turn on auto-save! 🍪 button.
In order to support further development, a link to our Patreon page should appear at the bottom of the page.
Perhaps I have multiple scenarios I'm working on at once, or figuring out a split for my friends (not roommates) but don't want to lose the split for myself. There should be a way to save multiple states at once.
The filter dialog isn't shown in Firefox because HTMLDialogElement is disabled by default.
We should use Gradle to build, especially so it can clean up the output JS. This probably goes along with #8
Circle CI "builds" keep failing, so we should add tests that it can actually run.
The app has only the default icon. It should have the app's logo instead.. Might depend on #15
The current share URL is too long; we need to look into shortening it while still leaving it open to manipulation by external APIs. This might pair well with #25
The webpage has always stated that this is available under BH-1-PS, but that license is not included in the repo
We do place a rent-ready
class into the <html>
element, so we should use that to hide the main section until all calculations are done, the page is mutated, and nothing's gonna twitch.
Imagining that this is an app with an API, ensure all functions and types have the proper visibilities and scopes
Currently, no field exposes the absolute total of all expenses combined. It might be useful to see that.
The user should be able to share a link to the current state of the page, especially for showing their roommate
Don't wanna blind people using this at night!
Whoops I changed my name
It looks like it says "PS"
There are already plenty of files masquerading as pieces of Blue Base, Husky UI, and Husky IO. We might as well have the whole shebang at our fingertips!
Perhaps a TurboTax style hand-holding mode by default?
There should be a link to the GitHub issue submission form at the bottom of the app, to give users a clear intended place to submit bug reports.
We took down our Patreon awhile ago. Time to replace it with our Ko-fi!
The version number reads 2.5.0
even though it's 2.5.1
. Also, when clicked, it brings me to the release notes for 2.4.9
The state should persist across refreshing and browser sessions.
This should probably be a cookie, which should be loadable via URL parameters.
Firefox does this dumb thing there incomes not divisible by 100 are marked red, as being invalid. Make it not do that.
The footer link to the license points to a 404 error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.