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

feat: assign taxonomy to organizations [TEMP] #23

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a8b82cf
feat: add manage-orgs modal
rpenido Dec 13, 2023
6484bdc
fix: menu layout and input clear
rpenido Dec 13, 2023
cd971cf
feat: add api
rpenido Dec 15, 2023
7093304
refactor: move useTaxonomyDetail hooks to avoid circular dependency
rpenido Dec 18, 2023
eb670ff
fix: undo css change
rpenido Dec 18, 2023
ef7cdaa
fix: add confirm modal
rpenido Dec 19, 2023
5da46b2
test: add manage org menu test
rpenido Dec 19, 2023
7eb728a
Merge branch 'rpenido/fal-3532-import-taxonomy' into rpenido/fal-3543…
rpenido Dec 19, 2023
5aed312
fix: merge conflicts
rpenido Dec 19, 2023
30890b5
Merge branch 'rpenido/fal-3532-import-taxonomy' into rpenido/fal-3543…
rpenido Dec 19, 2023
1e00d27
fix: disable element if is allOrg
rpenido Dec 19, 2023
f962b29
test: add tests
rpenido Dec 19, 2023
9fbe76e
style: add comment about modal style to allow dropdown overflow
rpenido Dec 20, 2023
aca5ce5
fix: add spacing
rpenido Dec 20, 2023
2bf4c53
fix: dont pass null children
rpenido Dec 20, 2023
6054020
fix: cleaning code
rpenido Dec 20, 2023
44d2428
test: add tests
rpenido Dec 20, 2023
ca38b43
test: add more tests
rpenido Dec 20, 2023
5d2b314
fix: typo
rpenido Dec 20, 2023
4ffebda
fix(deps): update dependency @edx/frontend-lib-content-components to …
renovate[bot] Dec 21, 2023
2788621
feat: Add filter taxonomies by org (#755)
yusuf-musleh Jan 4, 2024
52b75e0
fix: uploading progress percentage (#763)
KristinAoki Jan 4, 2024
2e070c9
feat: error page on invalid course key (#761)
ArturGaspar Jan 4, 2024
2205506
chore: removed reported_content_email_notifications_flag dependency (…
ayesha-waris Jan 5, 2024
6c0fc09
feat: add import taxonomy feature [FC-0036] (#675)
rpenido Jan 8, 2024
138f1d2
feat: Add v2 lib components content tags support (#771)
yusuf-musleh Jan 8, 2024
25fb779
Merge branch 'master' into rpenido/fal-3543-assign-taxonomy-to-organi…
rpenido Jan 8, 2024
56e6c1e
test: fix test
rpenido Jan 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 232 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/frontend-component-ai-translations-edx": "^1.4.1",
"@edx/frontend-component-ai-translations-edx": "^1.4.2",
"@edx/frontend-component-footer": "^12.3.0",
"@edx/frontend-component-header": "^4.7.0",
"@edx/frontend-enterprise-hotjar": "^2.0.0",
"@edx/frontend-lib-content-components": "^1.177.6",
"@edx/frontend-lib-content-components": "^1.177.8",
"@edx/frontend-platform": "5.6.1",
"@edx/paragon": "^21.5.6",
"@fortawesome/fontawesome-svg-core": "1.2.36",
Expand Down
9 changes: 8 additions & 1 deletion src/CourseAuthoringPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { StudioFooter } from '@edx/frontend-component-footer';
import Header from './header';
import { fetchCourseDetail } from './data/thunks';
import { useModel } from './generic/model-store';
import NotFoundAlert from './generic/NotFoundAlert';
import PermissionDeniedAlert from './generic/PermissionDeniedAlert';
import { getCourseAppsApiStatus } from './pages-and-resources/data/selectors';
import { RequestStatus } from './data/constants';
Expand Down Expand Up @@ -50,10 +51,16 @@ const CourseAuthoringPage = ({ courseId, children }) => {
const courseOrg = courseDetail ? courseDetail.org : null;
const courseTitle = courseDetail ? courseDetail.name : courseId;
const courseAppsApiStatus = useSelector(getCourseAppsApiStatus);
const inProgress = useSelector(state => state.courseDetail.status) === RequestStatus.IN_PROGRESS;
const courseDetailStatus = useSelector(state => state.courseDetail.status);
const inProgress = courseDetailStatus === RequestStatus.IN_PROGRESS;
const { pathname } = useLocation();
const showHeader = !pathname.includes('/editor');

if (courseDetailStatus === RequestStatus.NOT_FOUND) {
return (
<NotFoundAlert />
);
}
if (courseAppsApiStatus === RequestStatus.DENIED) {
return (
<PermissionDeniedAlert />
Expand Down
Loading