C2025-027-Develop-a-way-to-filter-annotations-so-the-user-can-view-only-the-types-they-want-to-see-EP #544
Open
plarsen
wants to merge 11 commits from
C2025-027-Develop-a-way-to-filter-annotations-so-the-user-can-view-only-the-types-they-want-to-see-EP
into C2025-023
pull from: C2025-027-Develop-a-way-to-filter-annotations-so-the-user-can-view-only-the-types-they-want-to-see-EP
merge into: Volian:C2025-023
Volian:master
Volian:Development
Volian:C2025_031_OptionsTooltips_Cleanup
Volian:B2025-030
Volian:C2025-032
Volian:C2025-023
Volian:DemoFormats
Volian:F2025-012
Volian:B2025-026_B2025-027
Volian:F2025-011
Volian:B2025-010
Volian:B2022-031-Add-filtering-for-Proc-and-Section-name-from-Global-Search-2
Volian:B2022-031-Add-filtering-for-Proc-and-Section-name-from-Global-Search
Volian:ACME_formats
Volian:C2024-041-Disable-UCF-(User-Control-of-Format)-options-3
Volian:C2024-041-Disable-UCF-(User-Control-of-Format)-options-2
Volian:C2024-041-Disable-UCF-(User-Control-of-Format)-options
Volian:F2025-004_Ginna
Volian:B2025-017-Print-Section-Sub-Section-v2
Volian:DeveloperToolUpdate
Volian:B2025-020_UpdateTransitions
Volian:B2025-018
Volian:C2025-019
Volian:B2025-015
Volian:C2025-014_PDF_Step_BckMrk_Zoom
Volian:B2025-019
Volian:C2024-038_v2
Volian:F2025-002_Farley
Volian:B2025-016
Volian:C2024-038
Volian:OrgDotNetBar
Volian:B2025-013
Volian:B2025-011-Global-search-is-not-finding-question-marks
Volian:DotNetBar_net4.8.1
Volian:CLSA481Build
Volian:B2025-014
Volian:B2025-012
Volian:C2025-011
Volian:F2025-001_BNPP
Volian:C2019-025_Ability-to-Toggle-Replace-Words-3
Volian:C2025-005
Volian:C2019-025_Ability-to-Toggle-Replace-Words-2
Volian:C2019-025_Ability-to-Toggle-Replace-Words
Volian:B2025-005
Volian:C2025-008
Volian:B2025-008
Volian:B2025-007
Volian:C2025-007
Volian:B2025-009
Volian:B2025-004_v2
Volian:B2025-004
Volian:C2025-006_B2025-006
Volian:C2025-003
Volian:B2025-003
Volian:C2020-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS-6
Volian:F2024-074-Farley_TOC
Volian:C2020-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS
Volian:B2024-063-Invalid-Format-message-box-displays-when-rev-date-empty
Volian:B2024-062_EmptyProcedure
Volian:B2024-068-VCS-Deviation-Format
Volian:C2024-005
Volian:C2024-016-Write-Info-to-Results-Window-Delete-Annotations
Volian:B2024-046-Set-Default-Tab-In-Admin-Tools
Volian:C2024-005-Annotations-Cleanup
Volian:B2024-041
Volian:C2024-004_fix
Volian:C2021-059
Volian:B2024-032-Fix-Quick-Print
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "C2025-027-Develop-a-way-to-filter-annotations-so-the-user-can-view-only-the-types-they-want-to-see-EP"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Develop a way to filter annotations so the user can view only the types they want to see.
May need to discuss --- looks like this branch was based off Development and not C2025-023.
As a result, this has other items included that are not part of this request item ---- this could cause conflicts down the line when we try to merge the multiple branches together.
One other thing I am noticing with this, is it looks like there are quite a few places where there is commented out / un-used code. If there is a reason for this (or John disagrees with me then I am good with it), but IMO at least I think we should reduce the size of the code base by removing the code if it is commented and no longer serves a purpose (i.e. - was the code written and commented out because of possible future changes needed or just stuff for when something was being worked through and not used but left in? - I will comment on an individual example or what I am referring to but there are a number of places this is the case)
I agree with Matt's comments. It does look like this was based off of Development (noticed that It wants to included Matt's latest changes to VLNSvgPageHeader.cs).
Also, looking at the screen shot in the Source Control document, noticed the Select Annotation Type does not have header over the two columns. This could be confusing to customers, especially once Annotation were selected for filtering.
If we want any of the commented out code to hang around, then some text should be added to explain why, even if it say something like keep until it clears testing.
@ -24032,0 +24051,4 @@
[DTS] [datetime] NOT NULL,
[UserID] [nvarchar](100) NOT NULL,
[LastChanged] [timestamp] NOT NULL,
[IsEPAnnotationType] [bit] NOT NULL
Might be missing something, but not sure why this would have a Is EPAnnotationType?
Since this has a TypeID --- would assume that would get this from:
Select AnnotationTypes.IsEPAnnotationType FROM AnnotationTypes where AnnotationTypes.TypeID = AnnotationTypeSelections.TypeID
Thoughts are if it is being stored in 2 places - how do you keep them in synch / what if they are not in synch?
Again - could easily be missing the reason for this flag, but figured I would double check?
@ -24032,0 +24068,4 @@
GO
-- =============================================
-- Author: <Author,,Name>
Should this have Author / description info in it?
@ -24032,0 +24106,4 @@
GO
-- =============================================
-- Author: Matthew Schill
Should this have different author / description/etc...?
@ -24032,0 +24110,4 @@
-- Create date: 3/21/2025
-- Description: Add EP to AnnotationTypes
-- =============================================
CREATE PROCEDURE [dbo].[getAnnotationTypes2]
Should this be something like get AnnotationTypeSelections since it gets the selections not the type details?
@ -24032,0 +24142,4 @@
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
Should this have different author / description/etc...?
@ -24032,0 +24185,4 @@
GO
-- =============================================
-- Author: <Author,,Name>
Should this have different author / description/etc...?
@ -0,0 +67,4 @@
dt.Rows.Add(row);
}
//row = dt.NewRow();
This is an example of what I was referring to with the commented out code as it is very similar to the uncommented code above.
@ -24032,0 +24044,4 @@
CREATE TABLE [dbo].[AnnotationTypeSelections](
[ASTypeID] [int] IDENTITY(1,1) NOT NULL,
[TypeID] [int] NULL,
I might be missing something - but seams strange to have this setting at the item level (i.e. turning off showing Annotation types at the item level) --- wouldn't this be overall (under options) or at the MyDocVersion / Section level?
--- again, could easily be missing something but figured I would bring it up.
@ -24032,0 +24042,4 @@
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[AnnotationTypeSelections](
Should there be indexes on this?
a Primary Key / TypeID and ItemID combo?
Checkout
From your project repository, check out a new branch and test the changes.