Commit Graph

38 Commits

Author SHA1 Message Date
Daniel Scalzi
e994f4c474
Added new server selection UI.
The UI is still being tweaked and modified. Functionality will be added once it is finalized.
2018-04-15 23:06:16 -04:00
Daniel Scalzi
be39d60705
Native files are now stored in the OS temp directory.
Temp folder is deleted when minecraft is closed. If the Node.js process ends abruptly, the folder will not delete. As a dirty way to counter this, the directory we extract native files to is cleaned in the preloader. Maybe we'll come up with a more elegant solution in the future.
2018-04-15 00:00:08 -04:00
Daniel Scalzi
631c3cd6d4
Added option to dismiss Java download prompt.
You will be given an option to install Java manually. Selecting this will bring you to a final prompt which gives some useful information about installing Java and where you can find help. You have two options on this prompt. The first is to simply aknowledge it, which will dismiss it. The second is to go back to the first prompt.
2018-04-14 22:20:59 -04:00
Daniel Scalzi
b5386c0257
Added dynamic frames for darwin + win32.
The darwin frame is the same as the original, however the button behavior is corrected. The win32 frame uses the traditional buttons found on windows. Also added a small logo image to the windows frame. Each frame is dynamically loaded on startup via ejs.

Also disabled the server selection test UI.
2018-04-14 16:54:10 -04:00
Daniel Scalzi
40a02726ad
Updated welcome text, testing a potential server selection UI. 2018-04-10 16:35:31 -04:00
Daniel Scalzi
a16a22e2e1
Modifications to welcome view, smoothing welcome transitions.
Disabled clouds on welcome.ejs. Added some welcome text to replace the lorem ipsum. The alignment was also changed from center to justify, to make the UI look sharper. Transitions between each view was changed from 250ms to 500ms.

Removed some testing code from login.ejs.
2018-04-07 19:58:23 -04:00
Daniel Scalzi
0a79634b8a
Implemented Java validations within the UI.
When a user attemps to launch, the configured Java executable will be validated. If it is invalid, we will look for a valid installation. If no valid installation is found, the user will be prompted with an option to install Java. An option to decline needs to be added. If they choose to install, it will download, extract, and update the executable in the config. The game will then be launched.

Also added progress tracking for asset validations, as they can potentially take a bit longer. Showing progress assures the user that the program isn't stuck or broken.
2018-04-07 18:06:49 -04:00
Daniel Scalzi
9b63d9bb58
Integrating new overlay mechanics with login view.
Removed login.ejs-specific overlay. Removed blur transition and reduced overlay fade from 500ms to 250ms. Minor modification to the overlay css.
2018-04-07 13:29:40 -04:00
Daniel Scalzi
5335e0124b
Further work on overlay mechanism. 2018-04-06 12:33:20 -04:00
Daniel Scalzi
ec9e95c130
Working on binding each view together.
Separate views are stored in an ejs file. When the app starts, each file will be loaded, with the DOM elements hidden. Based on the state of the application, a specific view will be fadded in. Switching between views will use this principle.

Moved contents of index.ejs to landing.ejs to make it compatible with the new format. As a result, index.ejs is deprecated and will be removed once it is no longer needed for reference.
2018-04-02 16:05:48 -04:00
Daniel Scalzi
454964ce0b Initial work on welcome view, upgraded dependencies. 2018-02-19 20:27:42 -05:00
Daniel Scalzi
8ea4ae8ec2 Adding login functionality to login view (connection with authmanager). 2018-01-29 01:23:20 -05:00
Daniel Scalzi
52aea274a7 Adding UI functionality to the login view. 2018-01-28 22:33:18 -05:00
Daniel Scalzi
d50b3d2d41 Improving styles for error spans. 2018-01-27 22:51:12 -05:00
Daniel Scalzi
1284c54525 Continuing work on login view, still a ways off from completion. 2018-01-27 22:29:15 -05:00
Daniel Scalzi
a3e7dfc570 Added styles for active elements on the login view. Made the frame buttons unfocusable by tabbing. Changed the login form from a form to a div, the form element is not what we want to use. 2018-01-24 17:35:06 -05:00
Daniel Scalzi
d7aa79f7d3 Unpacked Avenir.ttc to its several ttf components due to compatibility issues on older operating systems. 2018-01-23 21:16:10 -05:00
Daniel Scalzi
2e4a2be8b4 Adding focus and hover elements to the login view, minor change to svg style locations. 2018-01-23 18:07:18 -05:00
Daniel Scalzi
45997c17f5 Fixed transition error with login arrow button. 2018-01-23 15:41:01 -05:00
Daniel Scalzi
e236a38757 Cleaning up login code a bit, next stage is completing login responsiveness. 2018-01-23 02:41:46 -05:00
Daniel Scalzi
e555dd747f Initial work on login UI. Will continue to experiment with the layout and tweak colors and sizing. 2018-01-22 19:51:14 -05:00
Daniel Scalzi
965b56c6bd Switched to correct news icon. 2018-01-22 15:30:51 -05:00
Daniel Scalzi
d96766528e Added an edit overlay to the user avatar. 2018-01-22 01:17:56 -05:00
Daniel Scalzi
aee8f016bf Updated instagram logo, removed incorrect news logo (the one on the UI is temporary until the correct one is obtained), add responsiveness to the social media icons. 2018-01-21 23:26:51 -05:00
Daniel Scalzi
a6184c81d5 Added social media icons (tweaking/changes still needed). Initial work on organization of main css file. 2018-01-21 20:30:55 -05:00
Daniel Scalzi
3c7d7d79af Added mojang functions, most of which are pending testing. Once testing is complete, the external 'mojang' module will be removed. The 'Mojang Status' are on the landing page is now displaying the actual statuses of mojang's services. This will be refreshed once every 5 minutes. Enhancements will be made to the UI of this down the line. 2017-12-03 07:05:13 -05:00
Daniel Scalzi
aac789bf2c Added new progress bar UI, massive improvement. 2017-11-27 20:49:50 -05:00
Daniel Scalzi
dd9e1418c8 Added progress tracking to landing page. Fixed exclusions when extracting native files, fixed minor issue with config manager, optimizations and improvements to assetguard. 2017-11-27 04:31:54 -05:00
Daniel Scalzi
2c7dc16247 Optimizations for dynamic background, pinned background to image 0 for development of the UI, tweaked menu button css. 2017-11-19 15:08:52 -05:00
Daniel Scalzi
0ec64e6ded Added dynamic background, fixing menu button css 2017-11-19 14:16:07 -05:00
Daniel Scalzi
246def86d8 Upgrading Node.js Engine to v8.9.0 2017-11-07 14:51:43 -05:00
Daniel Scalzi
5ed660d3ab Added all icons, working on implementing them into UI 2017-09-12 16:52:20 -04:00
Daniel Scalzi
6eb6177d4b Beginning work on new UI for landing page and the modlist resolver/process builder. 2017-09-12 00:50:41 -04:00
Daniel Scalzi
02758b27b2 Added more UI elements. 2017-08-30 01:27:16 -04:00
Daniel Scalzi
0d013f7d6f Added home page structure 2017-08-29 16:40:42 -04:00
Daniel Scalzi
8bb6df921c Disable selection on the frame. 2017-08-28 21:14:05 -04:00
Daniel Scalzi
700a5c50cf Added handlers to the frame buttons. 2017-08-27 02:24:04 -04:00
Daniel Scalzi
582ea96dfe Updated dependencies (delete node_modules, npm install), included windows page script, changed to ejs (for now), initial work on the new design. 2017-08-27 01:13:48 -04:00