Consider not passing note ids when initializing notes component
When passing initial_notes_data we pass also list of all resource's note IDs. It seems this is used on FE side only in a deprecated component app/assets/javascripts/init_deprecated_notes.js.
Although for "normal" epics this is relatively slow query, for some epics (with higher number of fnotes) the query may be quite slow (randomly I noticed really slow >2s timings for this and this might contribute to EpicsController#show slow requests).
Do we really need notesIds
attribute or could we remove it? Donald mentioned on Slack this is used for snippets only (https://gitlab.slack.com/archives/CGR5T3WMP/p1676383299526459), if that is the case would it make sense to pass this only for snippets, but not for Epics or any other resources?