[Cuis-dev] Refactoring the browser's "annotation" pane

Nicolás Papagna Maldonado nicolas.papagna at gmail.com
Sun Jul 25 11:46:05 PDT 2021


Even though I don't like the naming convention, wouldn't this be an
AnnotationModel?
it looks like it is what the UI will use to render them, right?

Cheers,
Nico PM

On Sun, Jul 25, 2021 at 3:32 PM Nahuel Garbezza via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi everyone!
>
> I was experimenting a little bit with the browser's annotation pane and I
> found that it is difficult to extend (adding new information to the
> annotation text) without overriding stuff in CodeProvider, particularly
> #annotationForSelector:ofClass:. That method is quite long currently and it
> will grow more as new "annotation requests" are added.
>
> Also, I think the annotation should not be a responsibility of a
> CodeProvider, the way I see it is more "UI" so it would be better in
> my opinion to be a separate object that can deal just with annotations. But
> I'm not entirely sure how to name it (I thought something like
> "AnnotationProvider" but I don't 100% like the "provider" word).
>
> Any ideas?
>
> Nahuel
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

Nicolás Papagna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210725/a6a163dd/attachment.htm>


More information about the Cuis-dev mailing list