Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/sample UI collection details #34

Closed
wants to merge 103 commits into from

Commits on Aug 9, 2023

  1. Added demo scene with barebones connect UI page. Created implementati…

    …on for a basic scale tweening animation.
    BellringerQuinn committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    82daf96 View commit details
    Browse the repository at this point in the history
  2. Added logic to switch UI pages, supports 'back' (needs to be mapped t…

    …o the back key on various platforms, but for now, we have a UI button). Added a very minimal login screen for testing this out.
    BellringerQuinn committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    e0c802e View commit details
    Browse the repository at this point in the history
  3. Added a UIPage class that contains the base logic for a UI screen/pag…

    …e (e.g. open/close methods) and made ConnectPage and LoginPage inherrit from it
    BellringerQuinn committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f74e1a4 View commit details
    Browse the repository at this point in the history
  4. Refactor SequenceUI so that it no longer uses UIStates and instead ca…

    …lls the open/close methods on the UIPages directly.
    BellringerQuinn committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    5e241a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Add basic UI. For some reason this wasn't saved properly and wasn't i…

    …ncluded in my previous commit and I had to rebuild it... *sigh*
    BellringerQuinn committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    80ea477 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cfd635 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a36b9e View commit details
    Browse the repository at this point in the history
  4. Added the ability to choose from a set of tweening presets (implement…

    …ing the ITween interface) to animate the various UI pages. The main UI panel now scrolls in from the bottom
    BellringerQuinn committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    20f281f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc34c2a View commit details
    Browse the repository at this point in the history
  6. Basic login page

    BellringerQuinn committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2e6dc96 View commit details
    Browse the repository at this point in the history
  7. Made the login page the first page and hooked up buttons on login pag…

    …e such that they debug.log what they are supposed to do when clicked
    BellringerQuinn committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2670f7e View commit details
    Browse the repository at this point in the history
  8. Added a color scheme manager that allows you to automatically reskin …

    …the UI by creating a scriptable object via 'Assets>Create>Sequence>Color Scheme', setting it as the color scheme in the ColorSchemeManager monobehaviour/gameobject, and clicking Apply in the inspector
    BellringerQuinn committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    6c7b197 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    02762bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ab3748 View commit details
    Browse the repository at this point in the history
  3. Added login handler to the login page - this is an ILogin and is desi…

    …gned to handle the login request. Currently, mocking the login. Upon success or failed login, an ILogin will emit an appropriate event. SequenceUI is a subscriber to this event.
    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    919a1d2 View commit details
    Browse the repository at this point in the history
  4. Move to login success page upon login success. Fixed UI transition an…

    …imations (didn't have animations out)
    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    07513ef View commit details
    Browse the repository at this point in the history
  5. Added an IValidator interface that is used to validate inputs. For no…

    …w, there is only email validation - I have both a real (with tests) and mocked implementation of IValidator
    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    d72d8cd View commit details
    Browse the repository at this point in the history
  6. Moved SequenceIndexer into its own assembly - referencing SequenceEth…

    …ereum. Created assembly for SequenceExamples - referencing all the other Sequence assemblies (minus test assemblies) in the project. Finally, create a SequenceExamplesTests assembly for any tests related to the SequenceExamples and renamed our other test assembly from Tests to SequenceTests for clarity.
    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f0371ae View commit details
    Browse the repository at this point in the history
  7. Created a new directory (Authentication) and assembly (SequenceAuthen…

    …tication) under SequenceSDK and moved the authentication-related logic out of SequenceExamples and into Authentication.
    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    1a899a0 View commit details
    Browse the repository at this point in the history
  8. Created base MFA page

    BellringerQuinn committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    31930bf View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Updated readme

    BellringerQuinn committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0564267 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a71aec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bb48d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d67208 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6508efb View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Moved SequenceUI monobehaviour off of the Panel and onto the canvas, …

    …made it stop being a UIPage. Instead, created a UIPanel which inherrits from UIPage - this is used to create the LoginPanel and will be used for the WalletPanel as well
    BellringerQuinn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    cb2eb82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c037014 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    beef9db View commit details
    Browse the repository at this point in the history
  2. Added additional integration tests for sample UI login flow. Run all …

    …UI tests in one test so we don't have to setup and teardown the scene each time - makes test suite faster.
    BellringerQuinn committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    ce9e3df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    401aff2 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    6071f62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0a79b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    6ca0049 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17e9681 View commit details
    Browse the repository at this point in the history
  3. Added IIndexer and implementation (ChainIndexer) - this is basically …

    …just Indexer.cs with the static methods extracted, no longer requiring chain id as a parameter, instead chain Id is provided in the constructor.
    BellringerQuinn committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    fef7b6c View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    c6902c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    a290807 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    783c959 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6280a02 View commit details
    Browse the repository at this point in the history
  4. Fix scaling issues

    BellringerQuinn committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    c045f63 View commit details
    Browse the repository at this point in the history
  5. Fix animation

    BellringerQuinn committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    b24150b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab9e5ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    075d3f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Allow object pool to grow. Previously wanted to recycle the elements …

    …in the pool; however, since the layout of the objects is managed by the grid layout group, anytime one of the elements is removed, the rest are shifted up and are also removed. Instead, we simply allow the object pool to grow as needed - this should still perform well on initial load, but has the potential to create slowdowns if the user has a bunch of NFTs to display.
    BellringerQuinn committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    e556588 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b93457 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83cab28 View commit details
    Browse the repository at this point in the history
  4. Setup UI test harness so that we can run separate tests for the login…

    … flow and the wallet flow. Running these separately (as opposed to all in one test) feels like a happy middleground to me in terms of test runtime vs clarity (to pinpoint the issue) when tests fail.
    BellringerQuinn committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    b50d0f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Moved opening of next panel into a separate function that has a separ…

    …ate on click listener for the buttons. The functionality is the same as before, except, now it is easier to customize (developers can simply disable the Open{PanelName} on click listener and replace with some other panel to open next)
    BellringerQuinn committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    d7ea6d0 View commit details
    Browse the repository at this point in the history
  2. Test that we fetch enough items (random between 0 and 1000) and test …

    …that the branding stays at the bottom of the page
    BellringerQuinn committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    596da1b View commit details
    Browse the repository at this point in the history
  3. Fix ColorSchemeManager such that all panels have their colors modifie…

    …d when applying a new color scheme
    BellringerQuinn committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    32d6e82 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    4f9d020 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d46e522 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a96dfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b40b2a1 View commit details
    Browse the repository at this point in the history
  5. Fixed broken UI tests

    BellringerQuinn committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    5599f1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f925de View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    f140d27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3f487f View commit details
    Browse the repository at this point in the history
  3. Added basic navigation bar to wallet panel. Tested that we can close …

    …and re-open the wallet panel. Fixed some issues with the implementation
    BellringerQuinn committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    7610313 View commit details
    Browse the repository at this point in the history
  4. Moved WalletPage into a nested game object that will represent the pa…

    …nel within which all WalletPanel UIPages live
    BellringerQuinn committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    762aaec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8038442 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Replace NetworkIconSprite in TokenElement with the Chain (id). Now, u…

    …se NetworkIcons - a scriptable object mapping Chains with Sprites - to get the appropriate sprite for the network. Added the network icons that are supported by the Sequence indexer
    BellringerQuinn committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    a749c6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19a0b01 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    039f18a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cc9044 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27d9416 View commit details
    Browse the repository at this point in the history
  4. Updated ColorSchemeManager such that it also updates the prefabs for …

    …NFT ui elements and TransactionDetailBlocks
    BellringerQuinn committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    819aa2e View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    ce87fe6 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    7c0e608 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ed65e3 View commit details
    Browse the repository at this point in the history
  3. Fixed date format and sort transaction detail blocks based on their d…

    …ates in reverse chronological order so we see the most recent transactions first
    BellringerQuinn committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e36face View commit details
    Browse the repository at this point in the history
  4. Fix transaction details block UI such that the network icon moves bas…

    …ed on whether it is sent or received as designed in the Figma
    BellringerQuinn committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    c3b1d50 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    93be5e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfca668 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d74c531 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ace480f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e50416 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    61c3bbf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4d94910 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1d8c608 View commit details
    Browse the repository at this point in the history
  9. Some renamings

    BellringerQuinn committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    1ee9872 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f76c859 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0e78d9a View commit details
    Browse the repository at this point in the history
  12. Fixed typo

    BellringerQuinn committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    2f8c67e View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Create basic NftInfoPage. Create NftElement to use to populate NftInf…

    …oPage. Use NftElement to populate NftUIElement and update mock fetcher
    BellringerQuinn committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    42993f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3f69d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f2128f View commit details
    Browse the repository at this point in the history
  4. Created a PageWithTransactionDetailsBlocks, inherriting from UIPage, …

    …this class is designed to reuse the code needed for spawning TransactionDetailsBlocks. Reducing copy-pasta
    BellringerQuinn committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2dbb4a1 View commit details
    Browse the repository at this point in the history
  5. Further re-use code by creating InfoPage which inherrits from PageWit…

    …hTransactionDetailsBlock. Both NftInfoPage and TokenInfoPage are now InfoPages
    BellringerQuinn committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d68a54e View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    38fc271 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e4c10b View commit details
    Browse the repository at this point in the history
  3. Made InfoPage, PageWithTransactionDetailsBlocks, UIPage, and UIPanel …

    …abstract classes to improve readability
    BellringerQuinn committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    12b4091 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f4eca0 View commit details
    Browse the repository at this point in the history
  5. NftElements now hold a reference to a CollectionInfo as opposed to st…

    …oring collection related info in the NftElement directory
    BellringerQuinn committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    05cb0e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    6626c35 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Fix CollectionInfoPage data population - adding some unit tests to ve…

    …rify that the CollectionInfos were being mapped to NftElements appropriately by CollectionNftMapper
    BellringerQuinn committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    fcf07d8 View commit details
    Browse the repository at this point in the history
  2. Allow injection of a different initial panel (and initial panel openi…

    …ng arguments) to SequenceSampleUI for tests. This allows us to create tests that start on any panel - allowing us the flexibility to split up our tests further while keeping runtimes at a minimum
    BellringerQuinn committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    0246897 View commit details
    Browse the repository at this point in the history
  3. Broke WalletFlowUITests.EndToEndTest into multiple different tests so…

    … that we can get more granual results from our test suite. This will also make the WalletPanel test suite more manageable as it scales and will remove the risk of approaching the max runtime for a given test.
    BellringerQuinn committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    525d414 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    3c38341 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62048af View commit details
    Browse the repository at this point in the history
  3. Fixed typo

    BellringerQuinn committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    28a72b6 View commit details
    Browse the repository at this point in the history
  4. Significantly sped up runtime of CollectionInfoPageTest_navigatingThr…

    …oughNftInfoPages by reducing what info it tests on the NftInfoPages when clicking on the NftWithInfoText's button. This reduced the runtime from around 3 minutes to around 1.5 minutes
    BellringerQuinn committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    00d092c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    9d33119 View commit details
    Browse the repository at this point in the history