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

[MI-1974] Add modal to link a project #11

Merged
merged 15 commits into from
Aug 10, 2022
Merged

[MI-1974] Add modal to link a project #11

merged 15 commits into from
Aug 10, 2022

Conversation

ayusht2810
Copy link
Contributor

No description provided.

Copy link
Contributor

@raghavaggarwal2308 raghavaggarwal2308 left a comment

Choose a reason for hiding this comment

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

Check failing CI


// Make POST api request
usePlugin.makeApiRequest(Constants.pluginApiServiceConfigs.createLink.apiServiceName, payload);
}, [state, linkOrganizationError, linkProjectError]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need linkOrganizationError, linkProjectError these two here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

using a different approach to store error now

webapp/src/containers/LinkModal/index.tsx Outdated Show resolved Hide resolved
server/constants/constants.go Outdated Show resolved Hide resolved
server/plugin/api.go Outdated Show resolved Hide resolved
server/plugin/api.go Show resolved Hide resolved
server/plugin/client.go Outdated Show resolved Hide resolved
return base64.StdEncoding.EncodeToString(hash.Sum(nil))
}

func ProjectListFromJSON(bytes []byte) (*ProjectList, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This should not be in utils.go folder it is a serializer

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved to the file where its struct is present

webapp/src/containers/LinkModal/index.tsx Outdated Show resolved Hide resolved
webapp/src/reducers/linkModal/index.ts Outdated Show resolved Hide resolved
Base automatically changed from MI-1953 to epic_av August 9, 2022 12:56
@avas27JTG avas27JTG merged commit 3fa4874 into epic_av Aug 10, 2022
@avas27JTG avas27JTG deleted the MI-1974 branch August 10, 2022 06:57
avas27JTG added a commit that referenced this pull request Aug 10, 2022
* [MI-1846]: Added nvmrc file

* Modular folder structure

* Modular folder structure

* [MI-1846]: Base setup

* [MI-1846]: Refactored server base setup

* [MI-1854]: Implement OAuth to access Azure DevOps services

* working

* [MI-1846]: Review fixes

* [MI-1931] Add API to get projects and get tasks

* [MI-1931] Self review fixes

* [MI-1931] Review fixes 1

* [MI-1931] Self review fix

* [MI-1945] Add function to make protected routes

* [MI-1948] Add API to create task

* [MI-1931] Review fixes 2

* [MI-1931] Add json error handling

* [MI-1948] Add error in json format

* [MI-1948_1] Resolve build error

* [MI-1964]: Make changes to make POST API request from the webapp.

* [MI-1846]: Review fixes

* [MI-1854]: Review fixes

* [MI-1854]: Removed unused config

* [MI-1854]: Added logic to verify state

* [MI-1953] Add create task modal (#6)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1953] Correct validations

* [MI-1953] Send new work item link in DM

* [MI-1953] Correct error handling and reusable components

* [MI-1953] Correct operator in modal footer

* [MI-1953] Disable button on API request

* [MI-1953] Correct loading state

* [MI-1953] Review fixes

Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1950] Add feature to preview work items (#7)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1950] Add feature to preview work items

* [MI-1950] Self review fix

* [MI-1953] Correct validations

* [MI-1950] Self review fix

* [MI-1953] Send new work item link in DM

* [MI-1950] Add a comment

* [MI-1950] Review fixes 1

* [MI-1950] Review fix

* [MI-1953] Correct error handling and reusable components

* [MI-1950] Update variable names

* [MI-1953] Correct operator in modal footer

* [MI-1953] Disable button on API request

* [MI-1953] Correct loading state

* [MI-1950] Using slack attachment to show preview

* [MI-1950] Correct comments

* [MI-1950]: Sync

Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1979]: Created project list RHS view and related components (#8)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1950] Add feature to preview work items

* [MI-1950] Self review fix

* [MI-1953] Correct validations

* [MI-1950] Self review fix

* [MI-1953] Send new work item link in DM

* [MI-1950] Add a comment

* [MI-1979]: Created project list RHS view and realted components

* [MI-1979]: Fixed lints

* [MI-1979]: Review fixes

* [MI-1979]: Review fixes

* [MI-1979]: Removed unused code

Co-authored-by: ayusht2810 <ayush.thakur@joshtechnologygroup.com>
Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1983]: Create subscription details with related components and ad… (#9)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1950] Add feature to preview work items

* [MI-1950] Self review fix

* [MI-1953] Correct validations

* [MI-1950] Self review fix

* [MI-1953] Send new work item link in DM

* [MI-1950] Add a comment

* [MI-1979]: Created project list RHS view and realted components

* [MI-1979]: Fixed lints

* [MI-1983]: Create subscription details with related components and add redux logic to navigate.

* [MI-1983]: Changed hover state

* [MI-1983]: Review fixes

Co-authored-by: ayusht2810 <ayush.thakur@joshtechnologygroup.com>
Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1974] Add modal to link a project (#11)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1953] Correct validations

* [MI-1953] Send new work item link in DM

* [MI-1974] Add feature to link a project

* [MI-1953] Correct error handling and reusable components

* [MI-1953] Correct operator in modal footer

* [MI-1974] Refactor KV store

* [MI-1953] Disable button on API request

* [MI-1974] Run fmt and correct loading

* [MI-1974] Add error field in modal

* [MI-1974] Review fixes

* [MI-1974] Add function to check if project is already linked

Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1989] Add middleware to check oAuth (#12)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1953] Correct validations

* [MI-1953] Send new work item link in DM

* [MI-1953] Correct error handling and reusable components

* [MI-1953] Correct operator in modal footer

* [MI-1953] Disable button on API request

* [MI-1989] Add middleware to check oAuth

* [MI-1989] Correct function call

Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

* [MI-1993] Correct failing CI (#13)

* [MI-1953] Add create task modal

* [MI-1953] Run fmt

* [MI-1953] Correct validations

* [MI-1953] Send new work item link in DM

* [MI-1953] Correct error handling and reusable components

* [MI-1953] Correct operator in modal footer

* [MI-1953] Disable button on API request

* [MI-1953] Correct loading state

* [MI-1993] Correct ci

* [MI-1993] Correct if else chain

* [MI-1993] Correct make test

* [MI-1993] Correct error handling

* [MI-1993]: Review fixes

* [MI-1993]: Review fixes

Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>

Co-authored-by: ayusht2810 <ayush.thakur@joshtechnologygroup.com>
Co-authored-by: Abhishek Verma <abhishek.verma@brightscout.com>
Co-authored-by: ayusht2810 <100013900+ayusht2810@users.noreply.github.com>
avas27JTG pushed a commit that referenced this pull request Jan 6, 2023
[MI-2462] Moved files in assets to public folder
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.

4 participants