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

<FINAL> Andy needs to give the Ok that the first alpha is ready. #3

Open
BradleyChatha opened this issue Oct 2, 2019 · 4 comments
Open
Labels
needs andy For one reason or another, this issue needs Andy

Comments

@BradleyChatha
Copy link
Member

Once Andy's had a look over the release candidate for the first alpha, then we'll go into the part of the dev cycle that he begins to try and use it properly, providing feedback for the next alpha.

@BradleyChatha BradleyChatha added the needs andy For one reason or another, this issue needs Andy label Oct 2, 2019
@BradleyChatha
Copy link
Member Author

Seeing as Andy was less than impressed with the changes I showed him, and my hatred for the codebase grew more and more, I've taken liberty for the 4th rewrite of the website.

I'm going to integrate as much as possible with what ASP provides me, instead of rolling my own solutions (e.g. I'm using Identity instead of my own auth).

I'm going to use an industry standard front-end framework (Vue.js in this case) instead of hacking each page together with its own broken JS.

I'm going to use an industry standard toolchain for the front-end, in this case Gulp as the task runner and file watcher, and webpack for compiling and bundling JS, TS, and Vue files.

I've researched into Dashboard-like designs, as I believe this will be the best fit for FarmMaster.

Using Vue.js, I have already created very easy to use components, and I think the result is much easier to work with, less buggy, and is visually more pleasing than the old design.

I haven't gotten around to much of the backend stuff, but one of my plans to improve on the previous project is to fully embrace GraphQL as the go-to API for querying and mutating data, as the old hybrid method I was using was... no.

Here are some WIP screenshots:

image

image

image

Hopefully I can finally write a codebase that can support my future needs, without the endless bugs and friction I've been creating thus far.

This will yet again delay FarmMaster's internal alpha, however as you've seen the substantial progress in design and codebase between each different rewrite, I'm sure you can understand I'm not doing this just for the sake of it.

@BradleyChatha
Copy link
Member Author

BradleyChatha commented Mar 16, 2020

I'm taking note from Azure's interface: By default you're in a "view" mode, but you can toggle into an "edit" mode:

View

image

Edit

image

I'm thinking of editing <window> to natively allow an edit toggle button in the top right, but I do worry slightly about mobile useability, since it's already quite a tight fit.

@BradleyChatha
Copy link
Member Author

While GraphQL require some special things on the backend (see image below), I believe the benefits to the front end are still worth it.

image

(It's bad because every implementing class needs that huge parameter list, alongside their own dependencies)

@BradleyChatha
Copy link
Member Author

p.s. don't talk to me about performance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs andy For one reason or another, this issue needs Andy
Projects
None yet
Development

No branches or pull requests

1 participant