Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ScottLogic/sl-tech-carbon-estimator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: ScottLogic/sl-tech-carbon-estimator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 8 commits
  • 26 files changed
  • 4 contributors

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    5c2fa6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc77485 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. SFD-128: Add error summary for validation errors (#118)

    * Add error summary component
    
    * Move validation error messages to variable and add getter for errors
    
    * Show error summary on submission of invalid form
    
    * Enable submit button when form invalid
    
    If the form is invalid the error summary will be shown.
    
    * Focus error summary on invalid submission
    
    * Do not update error summary until resubmission
    
    * Style error summary
    
    * Remove full stops from error messages
    
    * Refactor error config
    
    * Add dark mode styles
    
    * Remove extra monthly active users inline error message
    
    * Remove explicit typing from errorConfig
    
    * Add unit test
    
    * Refactor handleSubmit
    
    * Delete empty css file
    
    * Add class to center error text in error flex boxes
    
    * Move type and constants to constants.ts
    jantoun-scottlogic committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    f2cfaa3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c92d4e9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #120 from ScottLogic/sfd-173-external-links

    SFD-173 External links replace the Estimator view
    mgriffin-scottlogic committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    86bffcc View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. SFD-196: Error summary persisting on form reset bugfix (#122)

    * Reset error summary state on form reset
    
    * Add resetErrors method
    jantoun-scottlogic committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    8de2821 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. SFD-171: Persist form state (#121)

    * Add storage service
    
    * Store form data on value change
    
    * Reduce number of form saves
    
    * Restore stored data after input sets data
    
    * Save raw form value
    
    * Add comparator for CostRange
    
    * Add method to get saved data
    
    * Save control states
    
    * Restore stored control states on init
    
    * Rename storage methods
    
    * Remove onInit calls from tests
    
    * Mock storage service in tests
    
    * Add explicit return types to storage service methods
    
    * Move HostListener to top of class
    
    * Persist error summary state
    
    * Store state in single storage variable
    
    * Add setControlStates method
    
    * Clear stored state on form reset
    
    * Use Map in MockStorageService
    
    * Refactor storeFormState
    
    * Refactor error summary state
    
    * Add form state service
    
    * Add tests for control state methods
    
    * Use ?? operator in mock storage service
    
    * Add tests for form storage
    
    * Remove '' from beforeunload listener
    
    * Use visibilitychange instead of beforeunload
    jantoun-scottlogic committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3d11f88 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. 0.2.0

    cfisher-scottlogic committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    05c3cf7 View commit details
    Browse the repository at this point in the history
Loading