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

Refactor login page #355

Merged
merged 6 commits into from
Nov 17, 2015
Merged

Refactor login page #355

merged 6 commits into from
Nov 17, 2015

Conversation

kegsay
Copy link
Contributor

@kegsay kegsay commented Nov 12, 2015

This is the sister PR to matrix-org/matrix-react-sdk#31.

This PR:

  • Makes ServerConfig a normal component rather than just the view.
  • Removes the view to CasLogin and uses the entire component from React SDK.
  • Replaces templates/Login with pages/Login which wires together UI components with the Signup logic.

- Add 'PasswordLogin' UI component
- Add 'LoginPage' wire component which, along with Signup from react SDK,
  replaces the 'Login' page.
- Move UI code (state/props) from ServerConfig which was lobotomoised in the
  React SDK.

Unfinished.
@@ -0,0 +1,199 @@
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The components this pulls in are from the new src/components/ directory, split by functionality, but this new style non-split component is still part of the views hierarchy, mixed in with all the old, split components? 'views' were supposed to be the UI part of a component: this is a complete component, not a view?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intention is for this to be a complete component. Based on your comments, would you prefer if it were in the components directory to avoid confusion?

@dbkr
Copy link
Member

dbkr commented Nov 13, 2015

See comments in matrix-org/matrix-react-sdk#31

@dbkr dbkr assigned ara4n and unassigned dbkr Nov 13, 2015
@ara4n
Copy link
Member

ara4n commented Nov 13, 2015

/me wonders why this has been assigned to me

kegsay added a commit that referenced this pull request Nov 17, 2015
@kegsay kegsay merged commit af1e337 into develop Nov 17, 2015
@kegsay
Copy link
Contributor Author

kegsay commented Nov 17, 2015

LGTM'd by Dave irl

kegsay added a commit that referenced this pull request Nov 17, 2015
@t3chguy t3chguy deleted the kegan/login-refactor branch May 12, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants