Skip to content

Commit

Permalink
[Frontend] Remove unnecessary folder
Browse files Browse the repository at this point in the history
InfoBox is the only component inside Info
  • Loading branch information
rikurauhala committed Aug 20, 2024
1 parent 493df5c commit 5c0932a
Show file tree
Hide file tree
Showing 26 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createLocaleComparator, getCurrentSemester, getEnrollmentTypeTextForExc
import { useTitle } from '@/common/hooks'
import { closeToGraduationToolTips } from '@/common/InfoToolTips'
import { StudentInfoItem } from '@/components/common/StudentInfoItem'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { getSemestersPresentFunctions } from '@/components/PopulationStudents/StudentTable/GeneralTab/columnHelpers/semestersPresent'
import { PaginatedSortableTable } from '@/components/SortableTable/PaginatedSortableTable'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Tab, Table } from 'semantic-ui-react'
import { getNewestProgramme } from '@/common'
import { populationStatisticsToolTips } from '@/common/InfoToolTips'
import { findCorrectProgramme } from '@/components/CustomPopulation/CustomPopulationProgrammeDist'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { useGetFacultiesQuery } from '@/redux/facultyStats'
import { useGetSemestersQuery } from '@/redux/semesters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
studentNumberFilter,
studyTrackFilter,
} from '@/components/FilterView/filters'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { PopulationCourseStatsFlat } from '@/components/PopulationCourseStats/PopulationCourseStatsFlat'
import { PopulationStudentsContainer as PopulationStudents } from '@/components/PopulationStudents'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Radio, Segment, SegmentGroup } from 'semantic-ui-react'

import { courseStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { Setting } from './common/Setting'

export const ChartSettings = ({ isRelative, setIsRelative, tab, viewMode }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Radio, Segment, SegmentGroup } from 'semantic-ui-react'

import { courseStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { DirectionToggle } from './common/DirectionToggle'
import { ProviderOrganization } from './common/ProviderOrganization'
import { Setting } from './common/Setting'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
tagsFilter,
transferredToProgrammeFilter,
} from '@/components/FilterView/filters'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { PopulationCourseStatsFlat } from '@/components/PopulationCourseStats/PopulationCourseStatsFlat'
import { PopulationStudentsContainer as PopulationStudents } from '@/components/PopulationStudents'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from 'react'
import { Divider, Header, Loader, Message } from 'semantic-ui-react'

import { facultyToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { Toggle } from '@/components/StudyProgramme/Toggle'
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Divider, Header, Loader, Message, Segment } from 'semantic-ui-react'
import { getTargetCreditsForProgramme } from '@/common'
import { studyProgrammeToolTips } from '@/common/InfoToolTips'
import { calculateStats } from '@/components/FacultyStatistics/FacultyProgrammeOverview'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { DataTable } from '@/components/StudyProgramme/BasicOverview/DataTable'
import { StackedBarChart } from '@/components/StudyProgramme/BasicOverview/StackedBarChart'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Divider, Header, Loader, Message, Segment } from 'semantic-ui-react'
import { useTitle } from '@/common/hooks'
import { facultyToolTips } from '@/common/InfoToolTips'
import '@/components/FacultyStatistics/faculty.css'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { Toggle } from '@/components/StudyProgramme/Toggle'
import { useGetAuthorizedUserQuery } from '@/redux/auth'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { facultyToolTips } from '@/common/InfoToolTips'
import { makeGraphData, makeTableStats } from '@/components/common/CreditsProduced'
import { sortProgrammeKeys } from '@/components/FacultyStatistics/facultyHelpers'
import { InteractiveDataTable } from '@/components/FacultyStatistics/InteractiveDataView'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { LineGraph } from '@/components/StudyProgramme/BasicOverview/LineGraph'
import { StackedBarChart } from '@/components/StudyProgramme/BasicOverview/StackedBarChart'
import { Toggle } from '@/components/StudyProgramme/Toggle'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { facultyToolTips } from '@/common/InfoToolTips'
import { sortProgrammeKeys } from '@/components/FacultyStatistics/facultyHelpers'
import { downloadProgressTable, downloadStudentTable } from '@/components/FacultyStatistics/xlsxFileDownloadHelper'
import '@/components/FacultyStatistics/faculty.css'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { Toggle } from '@/components/StudyProgramme/Toggle'
import { useGetFacultyProgressStatsQuery, useGetFacultyStudentStatsQuery } from '@/redux/facultyStats'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { utils, writeFile } from 'xlsx'

import { facultyToolTips } from '@/common/InfoToolTips'
import '@/components/FacultyStatistics/faculty.css'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { Toggle } from '@/components/StudyProgramme/Toggle'
import { useGetFacultyGraduationTimesQuery } from '@/redux/facultyStats'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Tab } from 'semantic-ui-react'
import { getMonthsForDegree } from '@/common'
import { useTabChangeAnalytics } from '@/common/hooks'
import { populationStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { CreditDistributionDevelopment } from './CreditDistributionDevelopment'
import { CreditsGainedTab } from './CreditsGainedTab'
import { StatisticsTab } from './StatisticsTab'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useSelector, useDispatch } from 'react-redux'
import { Segment } from 'semantic-ui-react'

import { populationStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { ConnectedPopulationCourseStats as PopulationCourseStats } from '@/components/PopulationCourseStats'
import { PopulationCourseStatsFlat } from '@/components/PopulationCourseStats/PopulationCourseStatsFlat'
import { SegmentDimmer } from '@/components/SegmentDimmer'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PanelView } from '@/components/common/PanelView'
import { CreditAccumulationGraphHighCharts } from '@/components/CreditAccumulationGraphHighCharts'
import { creditDateFilter, hopsFilter as studyPlanFilter } from '@/components/FilterView/filters'
import { useFilters } from '@/components/FilterView/useFilters'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { PopulationStudentsContainer as PopulationStudents } from '@/components/PopulationStudents'
import { useGetAuthorizedUserQuery } from '@/redux/auth'
import { useGetProgressCriteriaQuery } from '@/redux/programmeProgressCriteria'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useHistory } from 'react-router-dom'
import { Button, Form } from 'semantic-ui-react'

import { populationStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { PopulationQueryCard } from '@/components/PopulationQueryCard'
import { FilterActiveNote } from './FilterActiveNote'
import './populationSearch.css'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useProgress } from '@/common/hooks'
import { populationStatisticsToolTips } from '@/common/InfoToolTips'
import { hopsFilter } from '@/components/FilterView/filters'
import { useFilters } from '@/components/FilterView/useFilters'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { ProgressBar } from '@/components/ProgressBar'
import { ConnectedPopulationSearchForm as PopulationSearchForm } from './PopulationSearchForm'
import { ConnectedPopulationSearchHistory as PopulationSearchHistory } from './PopulationSearchHistory'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Tab } from 'semantic-ui-react'

import { useTabChangeAnalytics, useToggle } from '@/common/hooks'
import { coursePopulationToolTips, populationStatisticsToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { StudentNameVisibilityToggle } from '@/components/StudentNameVisibilityToggle'
import { useGetAuthorizedUserQuery } from '@/redux/auth'
import { useGetTagsByStudyTrackQuery } from '@/redux/tags'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { FilterView } from '@/components/FilterView'
import * as filters from '@/components/FilterView/filters'
import { creditDateFilter, hopsFilter as studyPlanFilter } from '@/components/FilterView/filters'
import { useFilters } from '@/components/FilterView/useFilters'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { AgeStats } from '@/components/PopulationDetails/AgeStats'
import { CreditGainStats } from '@/components/PopulationDetails/CreditGainStats'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Divider, Loader, Message } from 'semantic-ui-react'
import { getGraduationGraphTitle } from '@/common'
import { studyProgrammeToolTips } from '@/common/InfoToolTips'
import { CreditsProduced } from '@/components/common/CreditsProduced'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { BreakdownBarChart } from '@/components/StudyProgramme/BreakdownBarChart'
import { MedianTimeBarChart } from '@/components/StudyProgramme/MedianTimeBarChart'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom'
import { Header, Item, Icon, Loader, Segment } from 'semantic-ui-react'

import { studyProgrammeToolTips } from '@/common/InfoToolTips'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { SortableTable } from '@/components/SortableTable'
import { Toggle } from '@/components/StudyProgramme/Toggle'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Divider, Loader, Message } from 'semantic-ui-react'
import { getGraduationGraphTitle, getTargetCreditsForProgramme } from '@/common'
import { studyProgrammeToolTips } from '@/common/InfoToolTips'
import { calculateStats } from '@/components/FacultyStatistics/FacultyProgrammeOverview'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { BreakdownBarChart } from '@/components/StudyProgramme/BreakdownBarChart'
import { MedianTimeBarChart } from '@/components/StudyProgramme/MedianTimeBarChart'
import { Toggle } from '@/components/StudyProgramme/Toggle'
Expand Down
2 changes: 1 addition & 1 deletion services/frontend/src/components/Users/AccessRights.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@/common'
import { userToolTips } from '@/common/InfoToolTips'
import { FilterOldProgrammesToggle } from '@/components/common/FilterOldProgrammesToggle'
import { InfoBox } from '@/components/Info/InfoBox'
import { InfoBox } from '@/components/InfoBox'
import { useLanguage } from '@/components/LanguagePicker/useLanguage'
import { useGetProgrammesQuery } from '@/redux/populations'
import { useAddUserUnitsMutation, useRemoveUserUnitsMutation } from '@/redux/users'
Expand Down

0 comments on commit 5c0932a

Please sign in to comment.