The app has three sections, a list of tags to filter events, a list of upcoming...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The app has three sections, a list of tags to filter events, a list of upcoming events, and the user's agenda. The tag list displays the set of tags returned from the backend that are extracted from the event list. When a tag is selected, it will be used to filter the events returned from the backend. The backend will only return a maximum of 5 events. DO NOT CHANGE THIS. The user may select multiple tags to narrow the search results to view more events. The user can RSVP to an event. Pressing the "Change RSVP" button multiple times will cycle through the possible responses (This isn't the best user experience but it works for the purposes of the lab). The list of events that the user has responded to is listed below in "Your Agenda". This list should update dynamically as the user RSVPs to events or changes their response. The user can also remove their RSVP entirely by pressing the red X in their agenda. Data Model See types.ts for definitions. User (not functional in the app) • .id name friendlds: array of ids of friends (to control visibility); unused Event List . array of Social Events SocialEvent . id . ⋅ title description tags: array of tags that describe this event; used for filtering date . startTime • duration Minutes (unused) . location (unused) • attendees: list of RSVPs (unused) owner: User who created the event (unused) RSVP . id event response: yes, no, maybe, no-response visibility: public, friends, private (unused) numGuests: number of friends you're bringing (unused) Tasks Finish the tag filter The TagFilterview should accept a list of tags to display and then call a callback when the user presses one of the tags. Wire it up so that it accepts a property of type TagFilterList and a callback of type (tagFilter: TagFilter) -> void. App already has an implementation of handleTagFilterChange that will update the tagFilterList state variable. App fetches the list of tags from the backend and these are dynamic based on the scheduled events. Requirements 3000 The TagFilterview shows the list of tags fetched from the backend in App When the user taps on a tag, TagFilterlist calls a callback in App and does not change any data. App provides the tagFilterList state variable to TagFilterview as a property App handles the callback that you added to TagFilterview and updates the tagFilterList state variable Finish the event list The EventListview should display the event List that App fetches from the backend which is filtered by the tag list. Add a property to EventListview that provides eventList to the component for rendering. Additionally, this component will render helpful messages to the user when the event list is being fetched from the server and when a truncated event list is returned. Pass the event ListLoading and eventList Truncated state variables from App into the component. When a user taps on the Change RSVP button, this should fire the handleRSVPChange handler in App to update the user's RSVP to this event. Add a callback to EventListview that will pass on the onttress callback to this method in App. The callback should have the type (event: SocialEvent) > void and pass the SocialEvent that was tapped to the parent component. Requirements AgendaView shows the list of events that the user has RSVPD to from App AgendaView updates dynamically when the list of RSVPD events changes or when the response to an RSVP is updated. When the user taps on the red X, the RSVP is passed to the parent component for handling. The app has three sections, a list of tags to filter events, a list of upcoming events, and the user's agenda. The tag list displays the set of tags returned from the backend that are extracted from the event list. When a tag is selected, it will be used to filter the events returned from the backend. The backend will only return a maximum of 5 events. DO NOT CHANGE THIS. The user may select multiple tags to narrow the search results to view more events. The user can RSVP to an event. Pressing the "Change RSVP" button multiple times will cycle through the possible responses (This isn't the best user experience but it works for the purposes of the lab). The list of events that the user has responded to is listed below in "Your Agenda". This list should update dynamically as the user RSVPs to events or changes their response. The user can also remove their RSVP entirely by pressing the red X in their agenda. Data Model See types.ts for definitions. User (not functional in the app) • .id name friendlds: array of ids of friends (to control visibility); unused Event List . array of Social Events SocialEvent . id . ⋅ title description tags: array of tags that describe this event; used for filtering date . startTime • duration Minutes (unused) . location (unused) • attendees: list of RSVPs (unused) owner: User who created the event (unused) RSVP . id event response: yes, no, maybe, no-response visibility: public, friends, private (unused) numGuests: number of friends you're bringing (unused) Tasks Finish the tag filter The TagFilterview should accept a list of tags to display and then call a callback when the user presses one of the tags. Wire it up so that it accepts a property of type TagFilterList and a callback of type (tagFilter: TagFilter) -> void. App already has an implementation of handleTagFilterChange that will update the tagFilterList state variable. App fetches the list of tags from the backend and these are dynamic based on the scheduled events. Requirements 3000 The TagFilterview shows the list of tags fetched from the backend in App When the user taps on a tag, TagFilterlist calls a callback in App and does not change any data. App provides the tagFilterList state variable to TagFilterview as a property App handles the callback that you added to TagFilterview and updates the tagFilterList state variable Finish the event list The EventListview should display the event List that App fetches from the backend which is filtered by the tag list. Add a property to EventListview that provides eventList to the component for rendering. Additionally, this component will render helpful messages to the user when the event list is being fetched from the server and when a truncated event list is returned. Pass the event ListLoading and eventList Truncated state variables from App into the component. When a user taps on the Change RSVP button, this should fire the handleRSVPChange handler in App to update the user's RSVP to this event. Add a callback to EventListview that will pass on the onttress callback to this method in App. The callback should have the type (event: SocialEvent) > void and pass the SocialEvent that was tapped to the parent component. Requirements AgendaView shows the list of events that the user has RSVPD to from App AgendaView updates dynamically when the list of RSVPD events changes or when the response to an RSVP is updated. When the user taps on the red X, the RSVP is passed to the parent component for handling.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
On August 31, 2014, Nina Herrera borrowed $5,000 from Second State Bank. Herrera signed a note payable, promising to pay the bank principal plus interest on August 31, 2015. The interest rate on the...
-
Amy is the sole shareholder of her corporation. Rather than have the corporation pay hera dividend, Amy decides to have the corporation declare a "bonus" at year-end and pay her tax-deductible...
-
a. Prepare an implementation plan for change that would enable Gar Finnvold to create a fully competitive computer service within two years. b. How could Finnvold conduct an organizational diagnosis...
-
Redesign the fractionator of Example 6.8 using a random packing. The column is to be packed with 50-mm metal Pall rings. Determine the diameter of the tower, the height of packing in the stripping...
-
Musixscore.com is an online service providing sheet music to customers. On the browse music Web page, customers select a genre of music from a drop-down list. The Web page uses Ajax to obtain a list...
-
3. Assume that the web-hosting service industry is pertectly competitive and that all web-hosting service providers are identical. Also assume that web-hosting services occur at datacenters that...
-
Western Spirit is a sport and recreation company focusing on mountain biking week excursions during the Spring-Fall seasons from April - November. In 2021 they had a banner year as Covid-19 had...
-
What two conditions can lead to conflicts between the NPV and the IRR when evaluating mutually exclusive projects?
-
Explain the following terms: incremental cash flow, sunk cost, opportunity cost, externality, and cannibalization.
-
The Holmes Companys currently outstanding bonds have an 8% coupon and a 10% yield to maturity. Holmes believes it could issue new bonds at par that would provide a similar yield to maturity. If its...
-
Suppose interest rates in the economy increase. How would such a change affect the costs of both debt and common equity based on the CAPM?
-
Whats the logic behind the bond-yield-plus-risk-premium approach?
-
Identify Thank You 10 operation management decisions. Identify strategy changes that have taken place at Thank You since its founding in 2008. Your answer must in text references and must be checked...
-
10m solution. If Ka(HA) = 10 then pOH of solution will be [Given : log4=0.6] (A) 6.7 (B) Greater than 6.7 & less than 7.0 (C) Greater 7.0 & less than 7.3 (D) Greater than 7.3
-
If A is a 5 3 matrix with ||A||2 = 8, cond2(A) = 2, and ||A||F = 12, determine the singular values of A.
-
Theorem 7.4.2 states that Prove this in two steps. (a) Show first that (b) Construct a vector x whose coordinates are each ± such that Allcmax layl di laijl = max
-
If AB = AC and A O (the zero matrix), then B = C. In this case answer true if the statement is always true and false otherwise. In the case of a true statement, explain or prove your answer. In the...
-
For Example 9.12, is an orthogonal solution possible? Compute \(\mathbf{E}^{-1}(z)\) for the proof. Example 9.12. Show the two-band lapped-transform structure that realizes the filter bank with...
-
In Example 9.12, we could attempt to generalize the orthogonal realization of the LOT by allowing the matrix \(\mathbf{L}_{1}\) of Figure 9.45 to be a full matrix and design a simple biorthogonal...
-
Propose an alternative and simpler structure to that of Figure 9.46 in Example 9.12. The simplified structure should be based on Equation (9.267). Example 9.12. Show the two-band lapped-transform...
Study smarter with the SolutionInn App