Skip to content

charliehawley/MP2-PA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P.A.L. 🤖 Your Personal Accountability Labourer

P.A.L. is for the disenfranchised and disempowered. P.A.L. will make small life choices for you in the hope that the resources P.A.L. provides will help you to empower yourself. P.A.L.'s first module makes the decision for you and the second will provide you with a resource related to personal accountability/empowerment.

I want P.A.L. to displace the user's nihilism so that P.A.L. can help them to focus on empowering themselves. P.A.L. obviously isn't equipped to give real advice to the user (noted in a disclaimer in the footer); it's real value lies in the lighthearted reconstitution of the user's motivation. It draws attention to the user's agency and attempts to bolster their confidence with reassurance and humour.


Table of Contents


Demo

Deployed here - https://charliehawley.github.io/MP2-PA/
Repository here - https://github.com/charliehawley/MP2-PA

Wireframe

wireframe image *N.B. pdf available in /root

Responsive Demo

UX


User Stories

The USER here is typified by the new, post-pandemic cultural norm characterised by confinement, stagnation and a lack of structure:

  • As a user, I would like to utilize P.A.L. to remove the burden of personal responsibility and make small decisions for me.

  • As a user, I would like to find inspiration for reclaiming the agency to make decisions for myself. I want to find resources relavant to my specific gripes concerning personal responsibility.

  • As a user, I would like to use P.A.L. as an opportunity to decompress and enjoy some subversive humour that addresses motivation (or a lack thereof).

  • As a user, I want to find resources that relieve my anxiety concerning decision-making and vicious cycles of self-doubt.

Strategy

P.A.L. is intended to empower by temporarily suspending a user's personal accountability and providing resources to those who need to redirect their potential.

Scope

P.A.L. will allow the users to indulge in a chance-based evaluation of their potential to complete a task submitted by the user. P.A.L. is therefore an arbitrary guidance counsellor.

The MVP for this project necessitates:

  • A user input (text) form
  • Video content for the reformation of the disempowered user

Future features

  • A more robust conjugation method to P.A.L.s output in the first module. Perhaps using Martin Porter's Porter Stemmer.
  • Username storage using local storage which reminds the user how many times they've visited the site and how many times they've surrendered their agency to the app.
  • More intuitive interface for the provision of video content. The button system currently requires the user to click the button related to the video they're watching in order to pause and select another video.

Structure

P.A.L. has two modules stacked according to priority. These two modules are the only elements the user can interact with on the site.

The first is akin to a Magic 8 Ball concept (using user input and randomised responses) and the second provides third-party resources to inspire the user to re-approach decision-making for themselves.

The input/response is prioritised to establish the subversive tone of P.A.L.s approach to decision-making. The motivational resources are then introduced to directly address the user's malaise.

Skeleton

P.A.L.s two modules appears centrally on the homepage. On large displays, the user interfaces appear to the left, whilst the outputs are central, with function indicators on the right. On smaller displays the modules prioritise user input above the outputs with the indicators beneath.

On the iPad, an about section explains the philosophy of P.A.L. and there is also a disclaimer on all displays recommending against using P.A.L. for serious decisions. This appears beneath the main body to avoid interfering with the tone and narrative that has been arranged to lead the user from one module to the next.

Surface

P.A.L. bears striking resemblance to the malicious entity from Stanley Kubrick's masterpiece 2001: A Space Odyssey but has been rebranded to suggest a more congenial character.

The lighter cousin of H.A.L., P.A.L. is adorned with bright, brushed steel panelling instead of H.A.L.s ominous black glass appearance. There are two indicator lights, one for each module that demonstrate the state of the active functions.

Behind the modules steel plaques is a dark plastic dashboard texture that's just tacky enough to suggest a B-movie replica of Kubrick's more meticulous set design.

The color scheme is also derivative of 2001: A Space Odyssey


Technologies Included

  • HTML
  • CSS
  • JavaScript
  • Adobe Fonts
  • Gitpod
  • GitHub
  • Coolors
  • Web AIM color contrast checker

Testing

HTML validated using W3C Markup Validation Service and returns no errors.

CSS validated using W3C CSS Validation Service and returns no errors.

JS hint - returned 'responseString' used out of scope however when variable was redeclared 'responseString' returned 'undefined' so both instances (line 30, line 34) were left unchanged.

The site is fully responsive and media queries were used to adapt the site to displays from iPhone 5/SE up to 1920 x 1080 screens. responsive design

Deployment

The site was created using a versioning system integrated with GitHub via Gitpod.

The site is hosted on GitHub pages at the link above and will adapt whenever changes are made to the main branch.

You can run this respository locally by running git clone https://github.com/charliehawley/MP2-PA.git in your terminal.

Known Bugs

  • Module 1 'What are you thinking of doing?'

    • Although the text input field is prepopulated with 'I'm trying to...' (in order to force the syntax of the user input) if the user inserts a present participle verb (havING, chargING) where the verb would usually end in 'e', P.A.L. won't append the 'e'. The output for these two examples is therefore 'hav' and 'charg' respectively.
    • The longer the string, the more opportunity there is for the conjugation to break the function:

    image of confusing output

    • IOS device clicks don't trigger the P.A.L. lamp on/off SOLVED: changed lamp trigger to 'submit' event instead of 'mousedown'/'mouseup' events.
  • Module 2 'Dr P.A.L.'

    • Playing a video shows the credit for that video in the vid-credit panel however clicking on a video button whilst another video is playing replaced the credit with the placeholder text and continues to play the original video.

Out of scope/future features

  • full screen video from Module 2
  • log and filter responses from Module 1 so that you don't recieve the same result twice

Credits

  • Adobe fonts - OCR-A Std, Lo-Res 21 Serif
  • Textures were sourced from Cadhatch.com and are free to use
  • All copy created by Charlie Hawley

Media

All content in Module 2 is intended for educational use and as such falls under fair use policy.
All creators are credited and referenced appropriately.

  • LINKLATER, Richard: Waking Life 2001.
  • SCHOOL OF LIFE: How Much Does Luck Decide Our Lives? 2018.
  • WATTS, Alan: Intuition circa 1973.

Acknowledgements

Stanley Kubrick's 2001: A Space Odyssey was clearly a huge influence on this project and as such, P.A.L. has one fairly ominous response in the pool, an echo from the past.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published